Return 1 (rather than 0) on failure. This may well help get the build farm
authorAndrew Bartlett <abartlet@samba.org>
Fri, 2 Nov 2001 11:31:49 +0000 (11:31 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 2 Nov 2001 11:31:49 +0000 (11:31 +0000)
back into order, becouse its the inverse tests that are 'failing' - they get
error 0 back and think that we just let sombody in without a password and the
like.

Andrew Bartlett
(This used to be commit 83c2d7977445b511989b449959141aeed4bcf0b7)

source3/client/client.c

index f58f71f8847862301e1e75b6a85f6088d063b5f5..3047a9a61b99f8802bc21ea930647280d80a083c 100644 (file)
@@ -2205,7 +2205,7 @@ static int process(char *base_directory)
 
        cli = do_connect(desthost, service);
        if (!cli) {
-               return(False);
+               return 1;
        }
 
        if (*base_directory) do_cd(base_directory);