cvs: embed /php-irssi php-core.c
| From: | Wez Furlong | Date: | Thu, 30 Jan 2003 12:25:39 +0000 |
| Subject: | cvs: embed /php-irssi php-core.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18289@lists.php.net to get a copy of this message | ||
wez Thu Jan 30 07:25:39 2003 EDT
Modified files:
/embed/php-irssi php-core.c
Log:
Remove my name from a callback function...
Index: embed/php-irssi/php-core.c
diff -u embed/php-irssi/php-core.c:1.2 embed/php-irssi/php-core.c:1.3
--- embed/php-irssi/php-core.c:1.2 Thu Jan 30 04:04:35 2003
+++ embed/php-irssi/php-core.c Thu Jan 30 07:25:39 2003
@@ -14,7 +14,7 @@
+----------------------------------------------------------------------+
| Author: Wez Furlong <wez@php.net> |
+----------------------------------------------------------------------+
- $Id: php-core.c,v 1.2 2003/01/30 09:04:35 wez Exp $
+ $Id: php-core.c,v 1.3 2003/01/30 12:25:39 wez Exp $
*/
#define MODULE_NAME "php/core"
#include "common.h"
@@ -47,7 +47,7 @@
/* output to irssi crap output.
* TODO: this should line-buffer the output */
-static int wez_ub_write(const char *str, unsigned int str_length TSRMLS_DC)
+static int ub_write(const char *str, unsigned int str_length TSRMLS_DC)
{
signal_emit_id(signal_php_output, 2, str, str_length);
return SUCCESS;
@@ -104,7 +104,7 @@
static char *argv[2] = {"irssi", NULL};
/* override PHP/ZE output */
- php_embed_module.ub_write = wez_ub_write;
+ php_embed_module.ub_write = ub_write;
php_embed_module.log_message = log_message;
php_embed_module.sapi_error = sapi_error;