summaryrefslogtreecommitdiff
path: root/source3/lib/system_smbd.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-02-11 18:35:58 +0100
committerStefan Metzmacher <metze@samba.org>2008-02-13 10:44:52 +0100
commitcedfcaec0c36b58a88eaaa60283a807e0a8a71fc (patch)
tree6cc9cecaa7d7c5b007cd8366b9f2343c5f937b72 /source3/lib/system_smbd.c
parent29bf356f2686a1aed25dfadc82df7f96d0660836 (diff)
downloadsamba-cedfcaec0c36b58a88eaaa60283a807e0a8a71fc.tar.gz
samba-cedfcaec0c36b58a88eaaa60283a807e0a8a71fc.tar.bz2
samba-cedfcaec0c36b58a88eaaa60283a807e0a8a71fc.zip
nsswitch: convert winbind_env_set(), winbind_on() and winbind_off() into macros
metze (This used to be commit 5f623f54a919cc687d0ff16c16038c05a501008d)
Diffstat (limited to 'source3/lib/system_smbd.c')
-rw-r--r--source3/lib/system_smbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/system_smbd.c b/source3/lib/system_smbd.c
index 9d3eb95664..1f5dd3172f 100644
--- a/source3/lib/system_smbd.c
+++ b/source3/lib/system_smbd.c
@@ -125,7 +125,7 @@ static int sys_getgrouplist(const char *user, gid_t gid, gid_t *groups, int *grp
* always determined by the info3 coming back from auth3 or the
* PAC. */
winbind_env = winbind_env_set();
- winbind_off();
+ (void)winbind_off();
#ifdef HAVE_GETGROUPLIST
retval = getgrouplist(user, gid, groups, grpcnt);
@@ -137,7 +137,7 @@ static int sys_getgrouplist(const char *user, gid_t gid, gid_t *groups, int *grp
/* allow winbindd lookups, but only if they were not already disabled */
if (!winbind_env) {
- winbind_on();
+ (void)winbind_on();
}
return retval;