summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-09-14 16:50:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:47 -0500
commit539635cd94dd21dbc72f070fbd8a54c726091f5a (patch)
treebbf55ef0a3e41226fae6d6768e1c8f56ac87a584 /source3/smbd
parent5b00e7c38987d8726046440e46fccd86a0d8a104 (diff)
downloadsamba-539635cd94dd21dbc72f070fbd8a54c726091f5a.tar.gz
samba-539635cd94dd21dbc72f070fbd8a54c726091f5a.tar.bz2
samba-539635cd94dd21dbc72f070fbd8a54c726091f5a.zip
r25163: Fix wrong ctx passed to talloc_asprintf_append().
Found by Metze's code review (thanks Metze !). Jeremy. (This used to be commit a7370eea6be29c0e2adf5ae62aa6182b9165e744)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 7af4bcee60..478f60d094 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -4876,7 +4876,7 @@ static NTSTATUS smb_set_file_unix_link(connection_struct *conn,
return NT_STATUS_NO_MEMORY;
}
}
- rel_name = talloc_asprintf_append(ctx,
+ rel_name = talloc_asprintf_append(rel_name,
"%s",
link_target);
if (!rel_name) {