summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/msdfs.c4
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);
}