summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2008-09-12 22:26:10 +0200
committerVolker Lendecke <vl@samba.org>2008-09-12 22:29:56 +0200
commitced409b5f754623652580b708943ead6d98adb6d (patch)
tree4e1478fedff6112fb6fa6e4bfa65d4ff46f1e0a4
parent0e9f348f1daf84ae4fdc4f429a6abc376b6282be (diff)
downloadsamba-ced409b5f754623652580b708943ead6d98adb6d.tar.gz
samba-ced409b5f754623652580b708943ead6d98adb6d.tar.bz2
samba-ced409b5f754623652580b708943ead6d98adb6d.zip
Fix "make test" -- gna...
(This used to be commit c1d3ae80b5f5f07c5efcd7f3ee301d5c3090f3c6)
-rw-r--r--source3/libsmb/async_smb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c
index 79999b5654..c8d010a3fe 100644
--- a/source3/libsmb/async_smb.c
+++ b/source3/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;