summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-06-19 00:44:23 +0000
committerJeremy Allison <jra@samba.org>2001-06-19 00:44:23 +0000
commitc1fbf761ce819a4da9f26758129e0923bfc1e6ff (patch)
treee6b476b629d240f794fe8ecbbde8ba771d0846ea /source3/rpc_server
parent8a3782947a6ea64cd2a9d9a90c994ecbf9cd8ac6 (diff)
downloadsamba-c1fbf761ce819a4da9f26758129e0923bfc1e6ff.tar.gz
samba-c1fbf761ce819a4da9f26758129e0923bfc1e6ff.tar.bz2
samba-c1fbf761ce819a4da9f26758129e0923bfc1e6ff.zip
rpc_server/srv_srvsvc_nt.c: Don't test an uint32 for < 0.
utils/smbcacls.c: Set enum correctly. Jeremy. (This used to be commit 66f959e0ffb0cd385167a34c7db3f4959eaf1d7f)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_srvsvc_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c
index b28a0c9683..e56e63490d 100644
--- a/source3/rpc_server/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srv_srvsvc_nt.c
@@ -1761,7 +1761,7 @@ static uint32 init_server_disk_enum(uint32 *resume)
/*resume can be an offset into the list for now*/
- if(*resume < 0)
+ if(*resume & 0x80000000)
*resume = 0;
if(*resume > server_disk_count)