talloc_asprintf dumping the length?

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Aug 10 11:31:56 GMT 2006


On Thu, Aug 10, 2006 at 01:18:24PM +0200, Stefan (metze) Metzmacher wrote:
> would always leave a bad fealing to me,
> that I'm ignoring a return value....

.... which is the right feeling btw. asprintf returns < 0 if
the allocation failed :-)

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20060810/a3de89c9/attachment.bin


More information about the samba-technical mailing list