From: Volker Lendecke Date: Fri, 12 Sep 2008 20:26:10 +0000 (+0200) Subject: Fix "make test" -- gna... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1d3ae80b5f5f07c5efcd7f3ee301d5c3090f3c6;p=thirdparty%2Fsamba.git Fix "make test" -- gna... --- diff --git a/source/libsmb/async_smb.c b/source/libsmb/async_smb.c index 79999b56541..c8d010a3fe7 100644 --- a/source/libsmb/async_smb.c +++ b/source/libsmb/async_smb.c @@ -759,7 +759,7 @@ static void handle_incoming_pdu(struct cli_state *cli) } if ((IVAL(pdu, 4) != 0x424d53ff) /* 0xFF"SMB" */ - && (IVAL(pdu, 4) != 0x424d45ff)) /* 0xFF"EMB" */ { + && (SVAL(pdu, 4) != 0x45ff)) /* 0xFF"E" */ { DEBUG(10, ("Got non-SMB PDU\n")); status = NT_STATUS_INVALID_NETWORK_RESPONSE; goto invalidate_requests;