summaryrefslogtreecommitdiff
path: root/source4/libcli/raw
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-01-05 16:43:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:45 -0500
commitdb04cffbbfe15a52b954960ff0eb40d2a5e4f00d (patch)
treedab01e1b28482f7c3ec6d87d8efc019cb555b8de /source4/libcli/raw
parentaf5032acfdf24d49eafcd981e4a6809ce15d6fd0 (diff)
downloadsamba-db04cffbbfe15a52b954960ff0eb40d2a5e4f00d.tar.gz
samba-db04cffbbfe15a52b954960ff0eb40d2a5e4f00d.tar.bz2
samba-db04cffbbfe15a52b954960ff0eb40d2a5e4f00d.zip
r12725: some minor updates
metze (This used to be commit f2e97983f278211c6d70400ce1f43d6a69df0d8a)
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r--source4/libcli/raw/clitransport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/clitransport.c b/source4/libcli/raw/clitransport.c
index a0efe7042c..df5c608d08 100644
--- a/source4/libcli/raw/clitransport.c
+++ b/source4/libcli/raw/clitransport.c
@@ -184,7 +184,7 @@ struct smbcli_request *smbcli_transport_connect_send(struct smbcli_transport *tr
memcpy(p, calling_blob.data, calling_blob.length);
p += calling_blob.length;
- _smb_setlen(req->out.buffer, PTR_DIFF(p, req->out.buffer)-4);
+ _smb_setlen(req->out.buffer, PTR_DIFF(p, req->out.buffer) - NBT_HDR_SIZE);
SCVAL(req->out.buffer,0,0x81);
if (!smbcli_request_send(req)) {