From bb4773e30f6c524fc2c403111238d61a92474aed Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 14 Sep 2007 22:27:27 +0000 Subject: r25173: Use the append_buffer version in a loop. Jeremy. (This used to be commit 37cf2c272751065245dd46708af0a78f1f0c47df) --- source3/smbd/msdfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd') 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); } -- cgit