summaryrefslogtreecommitdiffstats
path: root/source/smbd/msdfs.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-09-14 22:27:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:48 -0500
commit37cf2c272751065245dd46708af0a78f1f0c47df (patch)
treed53108ab2658b3495f4a417799aace8f6a1f3b4f /source/smbd/msdfs.c
parent6032fbc358c5015b2b6a23e13d978bf41ef9e5f3 (diff)
downloadsamba-37cf2c272751065245dd46708af0a78f1f0c47df.tar.gz
samba-37cf2c272751065245dd46708af0a78f1f0c47df.tar.xz
samba-37cf2c272751065245dd46708af0a78f1f0c47df.zip
r25173: Use the append_buffer version in a loop.
Jeremy.
Diffstat (limited to 'source/smbd/msdfs.c')
-rw-r--r--source/smbd/msdfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/msdfs.c b/source/smbd/msdfs.c
index 1917eb4d10b..56089fbe95d 100644
--- a/source/smbd/msdfs.c
+++ b/source/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);
}