sas Sat Nov 30 23:10:34 2002 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
fix condition
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.146 php4/ext/ircg/ircg.c:1.147
--- php4/ext/ircg/ircg.c:1.146 Sat Nov 30 23:07:30 2002
+++ php4/ext/ircg/ircg.c Sat Nov 30 23:10:34 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ircg.c,v 1.146 2002/12/01 04:07:30 sas Exp $ */
+/* $Id: ircg.c,v 1.147 2002/12/01 04:10:34 sas Exp $ */
/* {{{ includes */
@@ -894,7 +894,7 @@
static void msg_send(php_irconn_t *conn, smart_str *msg)
{
msg_accum_send(conn, msg);
- if (conn->fd != -1 && conn->file_fd >= 0)
+ if (conn->fd >= 0 && conn->file_fd == -1)
irc_write_buf_flush(&conn->wb);
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php