Can we make the plugin API function add the null character?

Started by ., Mar 02, 2015, 04:43 PM

Previous topic - Next topic

.

Would it be ok if some of the plugin API functions that we use to retrieve name/ip/uid etc. would also include the null terminator? So I don't have to fill the buffer with '\0' every time I retrieve those values :)

Just a small request and doesn't have to be implemented if it's conflicting with something else. Or at least return the size of the written string so we can add the null character our self.
.