git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d4dc69
)
s4:client/client.c - fix wrong return codes in "do_connect"
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Fri, 10 Sep 2010 20:39:39 +0000
(22:39 +0200)
committer
Matthias Dieter Wallnöfer
<mdw@samba.org>
Fri, 10 Sep 2010 20:45:50 +0000
(22:45 +0200)
Detected by the Solaris cc compiler.
source4/client/client.c
patch
|
blob
|
history
diff --git
a/source4/client/client.c
b/source4/client/client.c
index 910a66657eb34062f7bfb96cac0fa4c415102fe9..ee5357f1bf7c6fba2a20890b2feccf81864522af 100644
(file)
--- a/
source4/client/client.c
+++ b/
source4/client/client.c
@@
-3088,10
+3088,10
@@
static bool do_connect(struct smbclient_context *ctx,
d_printf("Connection to \\\\%s\\%s failed - %s\n",
server, share, nt_errstr(status));
talloc_free(ctx);
- return
NULL
;
+ return
false
;
}
- return
ctx
;
+ return
true
;
}
/****************************************************************************