pajoye          Sun Jun  3 21:35:40 2007 UTC

  Modified files:              
    /php-src/ext/zip    php_zip.c 
  Log:
  - MFB: fix logic
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/php_zip.c?r1=1.45&r2=1.46&diff_format=u
Index: php-src/ext/zip/php_zip.c
diff -u php-src/ext/zip/php_zip.c:1.45 php-src/ext/zip/php_zip.c:1.46
--- php-src/ext/zip/php_zip.c:1.45      Sun Jun  3 21:30:12 2007
+++ php-src/ext/zip/php_zip.c   Sun Jun  3 21:35:39 2007
@@ -16,7 +16,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: php_zip.c,v 1.45 2007/06/03 21:30:12 pajoye Exp $ */
+/* $Id: php_zip.c,v 1.46 2007/06/03 21:35:39 pajoye Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1036,8 +1036,9 @@
 
                if (zip_add_dir(intern, (const char *)s) == -1) {
                        RETVAL_FALSE;
+               } else {
+                       RETVAL_TRUE;
                }
-               RETVAL_TRUE;
        }
 
        if (s != dirname) {
@@ -2144,7 +2145,7 @@
        php_info_print_table_start();
 
        php_info_print_table_row(2, "Zip", "enabled");
-       php_info_print_table_row(2, "Extension Version","$Id: php_zip.c,v 1.45 
2007/06/03 21:30:12 pajoye Exp $");
+       php_info_print_table_row(2, "Extension Version","$Id: php_zip.c,v 1.46 
2007/06/03 21:35:39 pajoye Exp $");
        php_info_print_table_row(2, "Zip version", "2.0.0");
        php_info_print_table_row(2, "Libzip version", "0.7.1");
 

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

Reply via email to