diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-06-17 13:59:44 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-06-17 13:59:44 +0000 |
commit | 4426338bf675ee8540dafca819a79b08d303311c (patch) | |
tree | 3d99f4a00f938bc2d9706e9337a4e70557bcc185 /ext/imap/php_imap.c | |
parent | cadc8a15f939fa51eb4ac4ce38d8837b223c172e (diff) | |
download | php-git-4426338bf675ee8540dafca819a79b08d303311c.tar.gz |
Fixed a typo in the check
Diffstat (limited to 'ext/imap/php_imap.c')
-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 26faae27c4..b540c3a1dc 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -2749,13 +2749,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); |