summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2012-12-30 22:14:16 +0000
committerArthur de Jong <arthur@arthurdejong.org>2012-12-30 22:14:16 +0000
commit97fbbc49bae100b7ed805c9ca7b03dcfc36d20f8 (patch)
tree90bf2c39e206f651f8172ad2aabeef7437cdd471
parent4ebb0dd099d1d17af59da7c51b9cd29d3fe0b8ae (diff)
code style fix
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1891 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r--tests/lookup_netgroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lookup_netgroup.c b/tests/lookup_netgroup.c
index 437089d..024de56 100644
--- a/tests/lookup_netgroup.c
+++ b/tests/lookup_netgroup.c
@@ -38,13 +38,13 @@ int main(int argc,char *argv[])
exit(EXIT_FAILURE);
}
/* start lookup */
- if (setnetgrent(argv[1])!=0)
+ if (setnetgrent(argv[1]) != 0)
{
/* output nothing */
exit(EXIT_FAILURE);
}
fprintf(stdout, "%-20s", argv[1]);
- while (getnetgrent(&host, &user, &domain)!=0)
+ while (getnetgrent(&host, &user, &domain) != 0)
{
fprintf(stdout, " (%s, %s, %s)", host, user, domain);
}