summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2011-07-07 14:50:47 +0200
committerMichael Adam <obnox@samba.org>2011-10-12 22:45:53 +0200
commit85b145d7450fc9d9e9c93b0300c899dd94e2e861 (patch)
tree575777ba746b50e6f7fc7e4b338abc2174bf23a1 /source3/libsmb
parent6648d906525cf27228145c8723e3dbef67dd77bd (diff)
downloadsamba-85b145d7450fc9d9e9c93b0300c899dd94e2e861.tar.gz
samba-85b145d7450fc9d9e9c93b0300c899dd94e2e861.tar.bz2
samba-85b145d7450fc9d9e9c93b0300c899dd94e2e861.zip
s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by value
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cliconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 92c90146e3..bba7b0323a 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -2707,7 +2707,7 @@ static void cli_negprot_done(struct tevent_req *subreq)
GUID_from_data_blob(&blob1, &server_guid);
blob1 = data_blob_const(bytes+16, num_bytes-16);
- blob2 = data_blob_dup_talloc(state, &blob1);
+ blob2 = data_blob_dup_talloc(state, blob1);
if (blob1.length > 0 &&
tevent_req_nomem(blob2.data, req)) {
return;