diff options
| author | Andreas Schneider <asn@samba.org> | 2014-11-24 16:26:13 +0100 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2014-11-24 18:52:05 +0100 |
| commit | 6557a0218a3f8d9b6072718ef2ed0e548bd9b5c2 (patch) | |
| tree | b356fb153788cf674dbcd4434ae51194f1c4422d /source3 | |
| parent | 4083ba6fe5ce9378b9194db4272cbf8fb847baa9 (diff) | |
s3-smbclient: Return success if we listed the shares.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10960
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
| -rw-r--r-- | source3/client/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index c90c450447..5d708970ad 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -5303,7 +5303,7 @@ static int do_host_query(const char *query_host) if (cli == NULL) { d_printf("NetBIOS over TCP disabled -- no workgroup available\n"); - return 1; + return 0; } cli_set_timeout(cli, io_timeout*1000); |
