diff options
Diffstat (limited to 'source4/client')
-rw-r--r-- | source4/client/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/client/client.c b/source4/client/client.c index 910a66657e..ee5357f1bf 100644 --- 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; } /**************************************************************************** |