talloc_asprintf dumping the length?
abartlet at samba.org
Thu Aug 10 23:52:28 GMT 2006
On Thu, 2006-08-10 at 13:01 +0200, Volker Lendecke wrote:
> Asked differently: Would anybody object if I changed the
> talloc_asprintf to
> int talloc_asprintf(const void *t, char **res, const char *fmt, ...)
> Or do you think it's better to have a new function? What
> should the name of a new one be?
I find the current talloc_asprintf() convention to be much easier and
more natural to code, particularly when used in debug statements.
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc. http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20060811/19f3e46f/attachment.bin
More information about the samba-technical