cvs: php4 /ext/ircg ircg.c
| From: | Sascha Schumann | Date: | Sun, 01 Dec 2002 04:10:34 +0000 |
| Subject: | cvs: php4 /ext/ircg ircg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-16789@lists.php.net to get a copy of this message | ||
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);
}