On Wed, 2004-04-14 at 14:13, Paul J Stevens wrote:
<snip info page>
> 
> So, if the row contains nulls, or db_get_length return value bigger than the 
> actual string length, msgbuf_buf is filled with nulls, correct?
I guess you're right :)
So, we should take the length of the string with strlen(), which would
result in the length up to the first NUL character, and use only that
part, and not send the NUL characters themselves.

This seems like logical behaviour, even though at first it's only a
workaround for our current problem.

Ilja


Reply via email to