[SCM] Samba Shared Repository - branch master updated

Amitay Isaacs amitay at samba.org
Sun Dec 18 17:58:02 MST 2011


The branch, master has been updated
       via  9e2d4b6 s3-net: Fix the return codes. 0 on success, -1 on failure
      from  79fe4bb s3: Fix the clustering build

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 9e2d4b61de43e058a476006a748c85192171b309
Author: Amitay Isaacs <amitay at gmail.com>
Date:   Tue Dec 6 18:11:11 2011 +1100

    s3-net: Fix the return codes. 0 on success, -1 on failure
    
    Autobuild-User: Amitay Isaacs <amitay at samba.org>
    Autobuild-Date: Mon Dec 19 01:57:24 CET 2011 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source3/utils/net_rpc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 9c2db0a..ef017ec 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -5062,7 +5062,7 @@ int net_usersidlist(struct net_context *c, int argc, const char **argv)
 
 	if (!get_user_tokens(c, &num_tokens, &tokens)) {
 		DEBUG(0, ("Could not get the user/sid list\n"));
-		return 0;
+		return -1;
 	}
 
 	for (i=0; i<num_tokens; i++) {
@@ -5071,7 +5071,7 @@ int net_usersidlist(struct net_context *c, int argc, const char **argv)
 	}
 
 	SAFE_FREE(tokens);
-	return 1;
+	return 0;
 }
 
 int net_usersidlist_usage(struct net_context *c, int argc, const char **argv)


-- 
Samba Shared Repository


More information about the samba-cvs mailing list