summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-06-09 11:41:32 +0200
committerAndrew Bartlett <abartlet@samba.org>2013-08-12 17:25:55 +1200
commitf584474d7dc1fdb4a778eb1ede8c5321e606341b (patch)
tree168e80636bad10e8718f3a6f46cf31b5af95d579 /libcli
parentadc3ac9ecdd7000c629b74d6477bbd59124cc7d2 (diff)
downloadsamba-f584474d7dc1fdb4a778eb1ede8c5321e606341b.tar.gz
samba-f584474d7dc1fdb4a778eb1ede8c5321e606341b.tar.bz2
samba-f584474d7dc1fdb4a778eb1ede8c5321e606341b.zip
libsmb: Avoid an unnecessary "else"
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'libcli')
-rw-r--r--libcli/smb/smbXcli_base.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcli/smb/smbXcli_base.c b/libcli/smb/smbXcli_base.c
index 5a5828acc7..b6d1ce9e02 100644
--- 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
*/