summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-03-18 09:11:08 +0000
committerLuke Leighton <lkcl@samba.org>2000-03-18 09:11:08 +0000
commita4016edc7faee5a0c789b7440dda64e6aa91732c (patch)
treebc65426f30567556637b56ca8fbff87f454d3679
parent5fd8d33c3cc675255df9096dcc3e04ed1f254812 (diff)
downloadsamba-a4016edc7faee5a0c789b7440dda64e6aa91732c.tar.gz
samba-a4016edc7faee5a0c789b7440dda64e6aa91732c.tar.xz
samba-a4016edc7faee5a0c789b7440dda64e6aa91732c.zip
returning zero entries is _not_ an error, in get_sampwd_entries()
-rw-r--r--source/samrd/srv_samr_passdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/samrd/srv_samr_passdb.c b/source/samrd/srv_samr_passdb.c
index 5ab81bd36d2..19dd7bfd60d 100644
--- a/source/samrd/srv_samr_passdb.c
+++ b/source/samrd/srv_samr_passdb.c
@@ -158,7 +158,7 @@ static BOOL get_sampwd_entries(SAM_USER_INFO_21 * pw_buf,
endsmbpwent(vp);
- return (*total_entries) > 0;
+ return (*total_entries) >= 0;
}
/*******************************************************************