iliaa           Tue Jun 17 09:59:44 2003 EDT

  Modified files:              
    /php4/ext/imap      php_imap.c 
  Log:
  Fixed a typo in the check
  
  
Index: php4/ext/imap/php_imap.c
diff -u php4/ext/imap/php_imap.c:1.171 php4/ext/imap/php_imap.c:1.172
--- php4/ext/imap/php_imap.c:1.171      Mon Jun 16 13:41:52 2003
+++ php4/ext/imap/php_imap.c    Tue Jun 17 09:59:44 2003
@@ -26,7 +26,7 @@
    | PHP 4.0 updates:  Zeev Suraski <[EMAIL PROTECTED]>                       |
    +----------------------------------------------------------------------+
  */
-/* $Id: php_imap.c,v 1.171 2003/06/16 17:41:52 iliaa Exp $ */
+/* $Id: php_imap.c,v 1.172 2003/06/17 13:59:44 iliaa Exp $ */
 
 #define IMAP41
 
@@ -2749,13 +2749,13 @@
                                if (env->subject) {
                                        add_property_string(myoverview, "subject", 
env->subject, 1);
                                }
-                               if (env->from && _php_imap_address_size(env->from) >= 
MAILTMPLEN) {
+                               if (env->from && _php_imap_address_size(env->from) < 
MAILTMPLEN) {
                                        env->from->next=NULL;
                                        address[0] = '\0';
                                        rfc822_write_address(address, env->from);
                                        add_property_string(myoverview, "from", 
address, 1);
                                }
-                               if (env->to && _php_imap_address_size(env->from) >= 
MAILTMPLEN) {
+                               if (env->to && _php_imap_address_size(env->from) < 
MAILTMPLEN) {
                                        env->to->next = NULL;
                                        address[0] = '\0';
                                        rfc822_write_address(address, env->to);



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

Reply via email to