cvs: php4 /ext/ircg ircg.c

From: Date: Fri, 12 Jan 2001 16:42:10 +0000
Subject: cvs: php4 /ext/ircg ircg.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3574@lists.php.net to get a copy of this message
sas Fri Jan 12 08:42:10 2001 EDT Modified files: /php4/ext/ircg ircg.c Log: We never want to appand to the result string, so set len to 0 initially. Index: php4/ext/ircg/ircg.c diff -u php4/ext/ircg/ircg.c:1.20 php4/ext/ircg/ircg.c:1.21 --- php4/ext/ircg/ircg.c:1.20 Fri Jan 12 07:45:34 2001 +++ php4/ext/ircg/ircg.c Fri Jan 12 08:42:09 2001 @@ -247,8 +247,8 @@ static smart_str new_msg; smart_str encoded_msg = {0}; + result->len = 0; if (fmt[0] == '\0') { - result->len = 0; return; }

« previous php.cvs (#3574) next »