diff options
author | Volker Lendecke <vl@samba.org> | 2009-08-29 19:39:35 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-08-29 19:43:33 +0200 |
commit | a95955f285ea13a3feddafa75edf8d2031d39403 (patch) | |
tree | b8a3af56e573cd6d5343138c53b79799208b8c9a | |
parent | 129562206a17a6debf3a21a82381fdcf470c8665 (diff) | |
download | samba-a95955f285ea13a3feddafa75edf8d2031d39403.tar.gz samba-a95955f285ea13a3feddafa75edf8d2031d39403.tar.bz2 samba-a95955f285ea13a3feddafa75edf8d2031d39403.zip |
s3:nsstest: Fix a very confusing behaviour in nsstest
Testing getgrent I thought I get the offset calculations wrong whereas
it was only nsstest printing stuff with spaces...
-rw-r--r-- | source3/torture/nsstest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/nsstest.c b/source3/torture/nsstest.c index 352b3fa33c..9832a7b5ac 100644 --- a/source3/torture/nsstest.c +++ b/source3/torture/nsstest.c @@ -345,7 +345,7 @@ static void print_passwd(struct passwd *pwd) static void print_group(struct group *grp) { int i; - printf("%s:%s:%lu: ", + printf("%s:%s:%lu:", grp->gr_name, grp->gr_passwd, (unsigned long)grp->gr_gid); @@ -356,7 +356,7 @@ static void print_group(struct group *grp) } for (i=0; grp->gr_mem[i+1]; i++) { - printf("%s, ", grp->gr_mem[i]); + printf("%s,", grp->gr_mem[i]); } printf("%s\n", grp->gr_mem[i]); } |