diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-06-17 13:59:56 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-06-17 13:59:56 +0000 |
commit | 1b747da374d0718bde1ceed02c198a69c8b09eec (patch) | |
tree | 2d08280a8af6d224eb9ecae643cc5f6c82f5a661 | |
parent | f82e06d4f86ebf5fe60c24a4dcee5a07a1e98f40 (diff) | |
download | php-git-1b747da374d0718bde1ceed02c198a69c8b09eec.tar.gz |
MFH
-rw-r--r-- | ext/imap/php_imap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 0ad60d0a26..2a2b231b26 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -2719,13 +2719,13 @@ PHP_FUNCTION(imap_fetch_overview) 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); |