diff options
author | Simo Sorce <idra@samba.org> | 2002-01-19 17:29:32 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2002-01-19 17:29:32 +0000 |
commit | 7019bfe546912397e7f4d37a44a510ce17a7febb (patch) | |
tree | 38c00e34ce75329ad7f345174328f19b5bc5887f /source3/lib | |
parent | 72544acc0d8fe7d3b43c3472638fe0ff847e993f (diff) | |
download | samba-7019bfe546912397e7f4d37a44a510ce17a7febb.tar.gz samba-7019bfe546912397e7f4d37a44a510ce17a7febb.tar.bz2 samba-7019bfe546912397e7f4d37a44a510ce17a7febb.zip |
fixes (asprintf) from 2.2
(This used to be commit 6b123adda901ff05b0271eeda060297448f64eec)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/snprintf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/snprintf.c b/source3/lib/snprintf.c index 88eea2824b..9a9dcdbae1 100644 --- a/source3/lib/snprintf.c +++ b/source3/lib/snprintf.c @@ -803,6 +803,7 @@ static void dopr_outch(char *buffer, size_t *currlen, size_t maxlen, char c) va_list ap; int ret; + *ptr = NULL; va_start(ap, format); ret = vasprintf(ptr, format, ap); va_end(ap); |