Author: nhosoi
Update of /cvs/dirsec/ldapserver/ldap/servers/slapd
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4234
Modified Files:
connection.c
Log Message:
Resolves: #237731
Summary: Random SASL GSSAPI test failure on shadowfoot (Comment #9)
Index: connection.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/connection.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- connection.c 27 Apr 2007 18:00:21 -0000 1.15
+++ connection.c 14 May 2007 22:04:55 -0000 1.16
@@ -1745,8 +1745,9 @@
}
/* err = PR_GetError(); */
/* If we would block, we need to poll for a while */
+ syserr = PR_GetOSError();
if ( SLAPD_PR_WOULD_BLOCK_ERROR( err ) ||
- SLAPD_SYSTEM_WOULD_BLOCK_ERROR( err ) ) {
+ SLAPD_SYSTEM_WOULD_BLOCK_ERROR( syserr ) ) {
struct PRPollDesc pr_pd;
PRIntervalTime timeout = PR_MillisecondsToInterval(CONN_TURBO_TIMEOUT_INTERVAL);
pr_pd.fd = (PRFileDesc *)conn->c_prfd;
Show replies by thread