From: Stefan Metzmacher Date: Tue, 19 May 2009 14:18:38 +0000 (+0200) Subject: s4:libcli/raw: initialy read the first 4 bytes only X-Git-Tag: tdb-1.1.5~469 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac7f4fa380722e9e8c71f24c32475e3c0d3e1e90;p=thirdparty%2Fsamba.git s4:libcli/raw: initialy read the first 4 bytes only metze --- diff --git a/source4/libcli/raw/clitransport.c b/source4/libcli/raw/clitransport.c index 5cf0272e884..0ced607b1e5 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);