diff options
author | Jeremy Allison <jra@samba.org> | 2007-09-14 23:21:00 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:06:46 -0500 |
commit | 9a012df08ee829c1d40fc88ba12a0ea479f60be0 (patch) | |
tree | 98fc38abc69111d06d29b0f7c57a5f3372bdcbed /source4/librpc/ndr | |
parent | 6f37a17d4a66c67de974cec14ebdf627114a397e (diff) | |
download | samba-9a012df08ee829c1d40fc88ba12a0ea479f60be0.tar.gz samba-9a012df08ee829c1d40fc88ba12a0ea479f60be0.tar.bz2 samba-9a012df08ee829c1d40fc88ba12a0ea479f60be0.zip |
r25175: Change to talloc_asprintf_append_buffer().
Jeremy.
(This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)
Diffstat (limited to 'source4/librpc/ndr')
-rw-r--r-- | source4/librpc/ndr/ndr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/librpc/ndr/ndr.c b/source4/librpc/ndr/ndr.c index a9e42f1eb6..49cfd3a9fe 100644 --- a/source4/librpc/ndr/ndr.c +++ b/source4/librpc/ndr/ndr.c @@ -200,15 +200,15 @@ _PUBLIC_ void ndr_print_string_helper(struct ndr_print *ndr, const char *format, int i; for (i=0;i<ndr->depth;i++) { - ndr->private_data = talloc_asprintf_append( + ndr->private_data = talloc_asprintf_append_buffer( (char *)ndr->private_data, " "); } va_start(ap, format); - ndr->private_data = talloc_vasprintf_append((char *)ndr->private_data, + ndr->private_data = talloc_vasprintf_append_buffer((char *)ndr->private_data, format, ap); va_end(ap); - ndr->private_data = talloc_asprintf_append((char *)ndr->private_data, + ndr->private_data = talloc_asprintf_append_buffer((char *)ndr->private_data, "\n"); } |