git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3b5e28
)
s4:libcli/raw: initialy read the first 4 bytes only
author
Stefan Metzmacher
<metze@samba.org>
Tue, 19 May 2009 14:18:38 +0000
(16:18 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 20 May 2009 08:16:42 +0000
(10:16 +0200)
metze
source4/libcli/raw/clitransport.c
patch
|
blob
|
history
diff --git
a/source4/libcli/raw/clitransport.c
b/source4/libcli/raw/clitransport.c
index 5cf0272e88469b774a898c25ba43127aaf42db4a..0ced607b1e5f04d4059921067de41e7b83fb7b9a 100644
(file)
--- a/
source4/libcli/raw/clitransport.c
+++ b/
source4/libcli/raw/clitransport.c
@@
-106,6
+106,7
@@
struct smbcli_transport *smbcli_transport_init(struct smbcli_socket *sock,
packet_set_error_handler(transport->packet, smbcli_transport_error);
packet_set_event_context(transport->packet, transport->socket->event.ctx);
packet_set_nofree(transport->packet);
+ packet_set_initial_read(transport->packet, 4);
smbcli_init_signing(transport);