|
@@ -537,7 +537,7 @@ see_if_write_available(Repl_Connection *conn, PRIntervalTime timeout)
|
|
|
agmt_get_long_name(conn->agmt),
|
|
agmt_get_long_name(conn->agmt),
|
|
|
timeout);
|
|
timeout);
|
|
|
return CONN_TIMEOUT;
|
|
return CONN_TIMEOUT;
|
|
|
- } else if ((rc < 0) || ((polldesc.out_flags|PR_POLL_WRITE) == 0)) { /* error */
|
|
|
|
|
|
|
+ } else if ((rc < 0) || (!(polldesc.out_flags&PR_POLL_WRITE))) { /* error */
|
|
|
slapi_log_error(SLAPI_LOG_REPL, repl_plugin_name,
|
|
slapi_log_error(SLAPI_LOG_REPL, repl_plugin_name,
|
|
|
"%s: error during poll attempt [%d:%s]\n",
|
|
"%s: error during poll attempt [%d:%s]\n",
|
|
|
agmt_get_long_name(conn->agmt),
|
|
agmt_get_long_name(conn->agmt),
|