Hello,

What is the correct way to fill the dsize field in apr_datum_t? I am
not sure whether I should do it like this

apr_datum_t d;

d.dptr = "hello, world";
d.dsize = strlen(d.dptr);

or like this

apr_datum_t d;

d.dptr = "hello, world";
d.dsize = strlen(d.dptr) + 1;

Could anyone tell me whether the +1 in the second case is really necessary?

Thanks,

-- 
César L. B. Silveira

Reply via email to