Author: nhosoi
Update of /cvs/dirsec/ldapserver/ldap/servers/slapd/back-ldif In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv554/slapd/back-ldif
Modified Files: Tag: Directory71RtmBranch search.c Log Message: Resolves: #204808 Summary: spurious search timeouts Description: applied the patch to Directory71RtmBranch
Index: search.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/back-ldif/search.c,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -u -r1.4 -r1.4.2.1 --- search.c 19 Apr 2005 22:07:39 -0000 1.4 +++ search.c 11 Jan 2008 19:20:24 -0000 1.4.2.1 @@ -143,7 +143,7 @@
/*Make sure we're not exceeding our time limit...*/ currtime = time(&dummy); - if ((tlimit > 0) && ((currtime - optime) > tlimit)){ + if ((tlimit > 0) && ((currtime - optime) > (time_t)tlimit)){ slapi_send_ldap_result( pb, LDAP_TIMELIMIT_EXCEEDED, NULL, NULL, nentries, NULL);
/*We "hit" the cache*/