[PATCH] s3-smbclient: Return success if we listed the shares.
Andreas Schneider
asn at samba.org
Mon Nov 24 08:26:13 MST 2014
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10960
Signed-off-by: Andreas Schneider <asn at samba.org>
---
source3/client/client.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source3/client/client.c b/source3/client/client.c
index c90c450..5d70897 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);
--
2.1.2
More information about the samba-technical
mailing list