diff options
author | Jeremy Allison <jra@samba.org> | 2001-05-17 00:24:34 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-05-17 00:24:34 +0000 |
commit | 8c4d6548a91961ecc2a177f4f6f95fbea4035cd3 (patch) | |
tree | f199ea96bae5d12d29230fa6bc85901e1b6301e4 /source3/groupdb | |
parent | e307e9d814bbcf3bd0e85408d4f78279ebb1e1cf (diff) | |
download | samba-8c4d6548a91961ecc2a177f4f6f95fbea4035cd3.tar.gz samba-8c4d6548a91961ecc2a177f4f6f95fbea4035cd3.tar.bz2 samba-8c4d6548a91961ecc2a177f4f6f95fbea4035cd3.zip |
groupdb/mapping.c: Fix gcc compiler warning.
smbd/connection.c: Sync up with code in 2.2
Jeremy.
(This used to be commit 87025c223dd33f2e02060c2a5cd45502946c87c6)
Diffstat (limited to 'source3/groupdb')
-rw-r--r-- | source3/groupdb/mapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/groupdb/mapping.c b/source3/groupdb/mapping.c index 5b844e93d2..2f258ea724 100644 --- a/source3/groupdb/mapping.c +++ b/source3/groupdb/mapping.c @@ -670,7 +670,7 @@ BOOL get_uid_list_of_group(gid_t gid, uid_t **uid, int *num_uids) gr = grp->gr_mem[0]; DEBUG(10, ("getting members\n")); - while (gr && (*gr != (char)NULL)) { + while (gr && (*gr != (char)'\0')) { (*uid)=Realloc((*uid), sizeof(uid_t)*(*num_uids+1)); if( (pwd=getpwnam(gr)) !=NULL) { |