diff options
author | Volker Lendecke <vl@samba.org> | 2010-11-11 13:44:28 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2010-11-11 16:16:24 +0000 |
commit | d320ae7cbed565220529fa0da13ce22498d45096 (patch) | |
tree | 19f8f70bb1df058ab1570bbc583fb4ed1d8cb86f /source3 | |
parent | 9cdb0b5cee1210fc44d9e6f2f87ab63d263b4cc6 (diff) | |
download | samba-d320ae7cbed565220529fa0da13ce22498d45096.tar.gz samba-d320ae7cbed565220529fa0da13ce22498d45096.tar.bz2 samba-d320ae7cbed565220529fa0da13ce22498d45096.zip |
s3: Untangle an if-expression
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/clidfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c index f4b52687f8..e663855ccf 100644 --- a/source3/libsmb/clidfs.c +++ b/source3/libsmb/clidfs.c @@ -127,7 +127,8 @@ static struct cli_state *do_connect(TALLOC_CTX *ctx, zero_sockaddr(&ss); /* have to open a new connection */ - if (!(c=cli_initialise_ex(get_cmdline_auth_info_signing_state(auth_info)))) { + c = cli_initialise_ex(get_cmdline_auth_info_signing_state(auth_info)); + if (c == NULL) { d_printf("Connection to %s failed\n", server_n); if (c) { cli_shutdown(c); |