talloc_asprintf dumping the length?

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Aug 11 08:32:22 GMT 2006

On Fri, Aug 11, 2006 at 09:52:28AM +1000, Andrew Bartlett wrote:
> I find the current talloc_asprintf() convention to be much easier and
> more natural to code, particularly when used in debug statements.

If you directly use the result in a debug statement, how do
you check if the result is != NULL?

-------------- 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/20060811/72e48620/attachment.bin

More information about the samba-technical mailing list