libcli/smb: correctly report disconnect errors after getting STATUS_PENDING
authorStefan Metzmacher <metze@samba.org>
Thu, 28 Aug 2014 08:20:36 +0000 (10:20 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 19 Sep 2014 07:15:10 +0000 (09:15 +0200)
commitdfcc683e38e18da0ce7140d729cf7eb285347681
tree550c1c1489d36129f8f022b879b6862087606c1e
parent4b6febc670812d688ce6b6edd3fa24e671959b5c
libcli/smb: correctly report disconnect errors after getting STATUS_PENDING

smb2cli_req_recv() should not report STATUS_PENDING if the
request isn't pending anymore (e.g. the connection was disconnected)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
libcli/smb/smbXcli_base.c