summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-05-19 16:18:38 +0200
committerStefan Metzmacher <metze@samba.org>2009-05-20 10:16:42 +0200
commitac7f4fa380722e9e8c71f24c32475e3c0d3e1e90 (patch)
treef5efb70b9d362f7321b2f67fcd15271b42e8b1ab
parente3b5e286d062fe2e82ea0ac4820bd036f3882db9 (diff)
downloadsamba-ac7f4fa380722e9e8c71f24c32475e3c0d3e1e90.tar.gz
samba-ac7f4fa380722e9e8c71f24c32475e3c0d3e1e90.tar.bz2
samba-ac7f4fa380722e9e8c71f24c32475e3c0d3e1e90.zip
s4:libcli/raw: initialy read the first 4 bytes only
metze
-rw-r--r--source4/libcli/raw/clitransport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/raw/clitransport.c b/source4/libcli/raw/clitransport.c
index 5cf0272e88..0ced607b1e 100644
--- 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);