git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e9f348
)
Fix "make test" -- gna...
author
Volker Lendecke
<vl@sernet.de>
Fri, 12 Sep 2008 20:26:10 +0000
(22:26 +0200)
committer
Volker Lendecke
<vl@samba.org>
Fri, 12 Sep 2008 20:29:56 +0000
(22:29 +0200)
(This used to be commit
c1d3ae80b5f5f07c5efcd7f3ee301d5c3090f3c6
)
source3/libsmb/async_smb.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/async_smb.c
b/source3/libsmb/async_smb.c
index 79999b56541e488e340a6398f10ebd2111441491..c8d010a3fe7e3fc3054ac19b485e511d2d5bdc98 100644
(file)
--- 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;