mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s4:client/client.c - fix wrong return codes in "do_connect"
Detected by the Solaris cc compiler.
This commit is contained in:
parent
9d4dc69627
commit
07af8f2514
@ -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;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user