diff options
author | Jeremy Allison <jra@samba.org> | 2007-09-14 22:27:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:30:48 -0500 |
commit | bb4773e30f6c524fc2c403111238d61a92474aed (patch) | |
tree | 576676c70761e956742dcc5f60e62f202ea5c263 /source3/smbd | |
parent | 2548e43164f3e5cee054ea531ab5132104de0ab6 (diff) | |
download | samba-bb4773e30f6c524fc2c403111238d61a92474aed.tar.gz samba-bb4773e30f6c524fc2c403111238d61a92474aed.tar.bz2 samba-bb4773e30f6c524fc2c403111238d61a92474aed.zip |
r25173: Use the append_buffer version in a loop.
Jeremy.
(This used to be commit 37cf2c272751065245dd46708af0a78f1f0c47df)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/msdfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c index 1917eb4d10..56089fbe95 100644 --- a/source3/smbd/msdfs.c +++ b/source3/smbd/msdfs.c @@ -1309,11 +1309,11 @@ BOOL create_msdfs_link(const struct junction_map *jucn, continue; } if (i > 0 && insert_comma) { - msdfs_link = talloc_asprintf_append(msdfs_link, + msdfs_link = talloc_asprintf_append_buffer(msdfs_link, ",%s", refpath); } else { - msdfs_link = talloc_asprintf_append(msdfs_link, + msdfs_link = talloc_asprintf_append_buffer(msdfs_link, "%s", refpath); } |