cvs: php4 /ext/ircg ircg.c

From: Date: Mon, 28 Apr 2003 21:18:48 +0000
Subject: cvs: php4 /ext/ircg ircg.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20564@lists.php.net to get a copy of this message
sas Mon Apr 28 17:18:48 2003 EDT Modified files: /php4/ext/ircg ircg.c Log: fix irc_set_file Index: php4/ext/ircg/ircg.c diff -u php4/ext/ircg/ircg.c:1.180 php4/ext/ircg/ircg.c:1.181 --- php4/ext/ircg/ircg.c:1.180 Mon Apr 28 16:00:55 2003 +++ php4/ext/ircg/ircg.c Mon Apr 28 17:18:48 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ircg.c,v 1.180 2003/04/28 20:00:55 sas Exp $ */ +/* $Id: ircg.c,v 1.181 2003/04/28 21:18:48 sas Exp $ */ /* {{{ includes */ @@ -883,7 +883,7 @@ if (conn->fd >= 0) { smart_str tmp = {0}; - smart_str_setl(&tmp, " ", 2); + smart_str_setl(&tmp, " \n" , 2); irc_write_buf_append_ex(&conn->wb, &tmp, 1); irc_write_buf_flush(&conn->wb); } else if ((php_ircg_now() - conn->login) > WINDOW_TIMEOUT) { @@ -1066,6 +1066,7 @@ } if (irc_write_buf_add_ex(&conn->wb, conn->fd, wbuf_hooks, conn) == 0) { + ircg_resource_get(conn->irconn_id); msg_replay_buffer(conn); IRCGG(flush_data) = conn;

« previous php.cvs (#20564) next »