cvs: php4 /ext/ircg php_ircg_cache.c
| From: | Sascha Schumann | Date: | Wed, 23 Apr 2003 04:26:45 +0000 |
| Subject: | cvs: php4 /ext/ircg php_ircg_cache.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20440@lists.php.net to get a copy of this message | ||
sas Wed Apr 23 00:26:45 2003 EDT
Modified files:
/php4/ext/ircg php_ircg_cache.c
Log:
Fix leaking garbage into messages
Index: php4/ext/ircg/php_ircg_cache.c
diff -u php4/ext/ircg/php_ircg_cache.c:1.2 php4/ext/ircg/php_ircg_cache.c:1.3
--- php4/ext/ircg/php_ircg_cache.c:1.2 Sat Apr 19 14:03:47 2003
+++ php4/ext/ircg/php_ircg_cache.c Wed Apr 23 00:26:45 2003
@@ -78,6 +78,7 @@
ce->result.len = 0;
smart_str_append_ex(&ce->src, src, 1);
+ smart_str_0(&ce->src);
ircg_mirc_color(ce->src.c, &ce->result, ce->src.len, auto_links, gen_br);
found: