diff options
author | Gerald Carter <jerry@samba.org> | 2004-03-15 16:12:52 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2004-03-15 16:12:52 +0000 |
commit | 11f6251b771e59020af02599ea419e7d7ff682de (patch) | |
tree | 3fb38a5d70e45cf36d39fb4690a94b0e9b747833 /source3/passdb | |
parent | 12fb2d73050a911c7a86749be3639b2c1da84059 (diff) | |
download | samba-11f6251b771e59020af02599ea419e7d7ff682de.tar.gz samba-11f6251b771e59020af02599ea419e7d7ff682de.tar.bz2 samba-11f6251b771e59020af02599ea419e7d7ff682de.zip |
sync small fixes from 3.0 and fix compiler warning in priv code
(This used to be commit c640594c9362dca625a8fa51b453dafe1f3e980d)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c index aef088c124..8f2fe7651f 100644 --- a/source3/passdb/pdb_tdb.c +++ b/source3/passdb/pdb_tdb.c @@ -1204,7 +1204,7 @@ static int tdbsam_traverse_privilege(TDB_CONTEXT *t, TDB_DATA key, TDB_DATA data int len; s = data.dptr; - while (c = strchr(s, ',')) { + while ((c=strchr(s, ',')) !=NULL) { len = MAX((c - s), strlen(pt->sid_list[i])); if (strncmp(s, pt->sid_list[i], len) == 0) { DEBUG(10, ("sid [%s] found in users sid list\n", pt->sid_list[i])); |