diff options
author | Christopher R. Hertel <crh@samba.org> | 1998-08-13 00:01:02 +0000 |
---|---|---|
committer | Christopher R. Hertel <crh@samba.org> | 1998-08-13 00:01:02 +0000 |
commit | b067f0e2b921a7ac221d47a91d408526935363b2 (patch) | |
tree | d984cc2618908b8ec02d53258f5112846815bcc5 /source3 | |
parent | 50321227533c341717a7cd8664f4a2095bd697a8 (diff) | |
download | samba-b067f0e2b921a7ac221d47a91d408526935363b2.tar.gz samba-b067f0e2b921a7ac221d47a91d408526935363b2.tar.bz2 samba-b067f0e2b921a7ac221d47a91d408526935363b2.zip |
Debug output formatting change. I'm trying to combine log lines that
really should be together. Chris -)-----
(This used to be commit 8880fc58fa61edfd5a83cc75ef627b430b8a4437)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/password.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c index 055c53d009..118251ffd6 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -184,11 +184,11 @@ int setup_groups(char *user, int uid, int gid, int *p_ngroups, GID_T **p_groups) (*p_groups) = groups; - DEBUG(3,("%s is in %d groups\n",user,ngroups)); - for (i=0;i<ngroups;i++) { - DEBUG(3,("%d ",(int)groups[i])); + DEBUG( 3, ( "%s is in %d groups: ", user, ngroups ) ); + for (i = 0; i < ngroups; i++ ) { + DEBUG( 3, ( "%s%d", (i ? ", " : ""), (int)groups[i] ) ); } - DEBUG(3,("\n")); + DEBUG( 3, ( "\n" ) ); return 0; } |