felipe          Thu Apr 17 11:04:49 2008 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/imap   php_imap.c 
  Log:
  - Fix typo
  
http://cvs.php.net/viewvc.cgi/php-src/ext/imap/php_imap.c?r1=1.208.2.7.2.30&r2=1.208.2.7.2.31&diff_format=u
Index: php-src/ext/imap/php_imap.c
diff -u php-src/ext/imap/php_imap.c:1.208.2.7.2.30 
php-src/ext/imap/php_imap.c:1.208.2.7.2.31
--- php-src/ext/imap/php_imap.c:1.208.2.7.2.30  Tue Apr  8 00:03:34 2008
+++ php-src/ext/imap/php_imap.c Thu Apr 17 11:04:49 2008
@@ -26,7 +26,7 @@
    | PHP 4.0 updates:  Zeev Suraski <[EMAIL PROTECTED]>                       |
    +----------------------------------------------------------------------+
  */
-/* $Id: php_imap.c,v 1.208.2.7.2.30 2008/04/08 00:03:34 iliaa Exp $ */
+/* $Id: php_imap.c,v 1.208.2.7.2.31 2008/04/17 11:04:49 felipe Exp $ */
 
 #define IMAP41
 
@@ -792,7 +792,7 @@
 #ifdef SET_MAXLOGINTRIALS
        if (myargc == 5) {
                convert_to_long_ex(retries);
-               if (retries < 0) {
+               if (Z_LVAL_PP(retries) < 0) {
                        php_error_docref(NULL TSRMLS_CC, E_WARNING ,"Retries 
must be greater or equal to 0");
                } else {
                        mail_parameters(NIL, SET_MAXLOGINTRIALS, (void *) 
Z_LVAL_PP(retries));



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

Reply via email to