iliaa           Wed Dec 29 16:24:01 2004 EDT

  Modified files:              (Branch: PHP_4_3)
    /php-src/ext/imap   php_imap.c 
  Log:
  Don't perform pointless operations (MFH5).
  
  
http://cvs.php.net/diff.php/php-src/ext/imap/php_imap.c?r1=1.142.2.30&r2=1.142.2.31&ty=u
Index: php-src/ext/imap/php_imap.c
diff -u php-src/ext/imap/php_imap.c:1.142.2.30 
php-src/ext/imap/php_imap.c:1.142.2.31
--- php-src/ext/imap/php_imap.c:1.142.2.30      Wed Dec 22 12:29:14 2004
+++ php-src/ext/imap/php_imap.c Wed Dec 29 16:24:00 2004
@@ -26,7 +26,7 @@
    | PHP 4.0 updates:  Zeev Suraski <[EMAIL PROTECTED]>                       |
    +----------------------------------------------------------------------+
  */
-/* $Id: php_imap.c,v 1.142.2.30 2004/12/22 17:29:14 iliaa Exp $ */
+/* $Id: php_imap.c,v 1.142.2.31 2004/12/29 21:24:00 iliaa Exp $ */
 
 #define IMAP41
 
@@ -3161,8 +3161,7 @@
                RETURN_FALSE;
        }
 
-       RETVAL_STRINGL(mystring, strlen(mystring), 1);  
-       efree(tempstring);
+       RETVAL_STRINGL(tempstring, 0);  
 }
 /* }}} */
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to