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;
        }
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to