summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_srvsvc_nt.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-07-15 10:54:35 +0000
committerAndrew Tridgell <tridge@samba.org>2002-07-15 10:54:35 +0000
commit159118de5ce0999b96ebe7cd7dc823087b0cccf5 (patch)
treea36cd7cde4ee83b7ec420d883ca8bb86b307f831 /source3/rpc_server/srv_srvsvc_nt.c
parentfc26773500cc549563bcd00b2657713adf09a840 (diff)
downloadsamba-159118de5ce0999b96ebe7cd7dc823087b0cccf5.tar.gz
samba-159118de5ce0999b96ebe7cd7dc823087b0cccf5.tar.bz2
samba-159118de5ce0999b96ebe7cd7dc823087b0cccf5.zip
fixed a number of real bugs found by warnings on the 64 bit irix compiler
(This used to be commit 04de6bbc8055e5547af41b10e284b722f40e726d)
Diffstat (limited to 'source3/rpc_server/srv_srvsvc_nt.c')
-rw-r--r--source3/rpc_server/srv_srvsvc_nt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c
index b5f6bd2f07..202e869d35 100644
--- a/source3/rpc_server/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srv_srvsvc_nt.c
@@ -964,8 +964,6 @@ static WERROR init_srv_file_info_ctr(pipes_struct *p, SRV_FILE_INFO_CTR *ctr,
ctr->switch_value = switch_value;
ctr->num_entries = *total_entries - *resume_hnd;
- if (ctr->num_entries < 0)
- ctr->num_entries = 0;
ctr->num_entries2 = ctr->num_entries;
switch (switch_value) {