git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adc3ac9
)
libsmb: Avoid an unnecessary "else"
author
Volker Lendecke
<vl@samba.org>
Sun, 9 Jun 2013 09:41:32 +0000
(11:41 +0200)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 12 Aug 2013 05:25:55 +0000
(17:25 +1200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/smb/smbXcli_base.c
patch
|
blob
|
history
diff --git
a/libcli/smb/smbXcli_base.c
b/libcli/smb/smbXcli_base.c
index 5a5828acc76c02c35df21a26fc425751b95da538..b6d1ce9e020957d3eb11afe7802646ca45aec1cc 100644
(file)
--- a/
libcli/smb/smbXcli_base.c
+++ b/
libcli/smb/smbXcli_base.c
@@
-1587,7
+1587,9
@@
static void smbXcli_conn_received(struct tevent_req *subreq)
* tevent_req_done().
*/
return;
- } else if (!NT_STATUS_EQUAL(status, NT_STATUS_RETRY)) {
+ }
+
+ if (!NT_STATUS_EQUAL(status, NT_STATUS_RETRY)) {
/*
* We got an error, so notify all pending requests
*/