From 7297f5196e619ea3512b3d4d461b23ba8241bd37 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Sun, 1 Aug 1999 00:25:58 +0000 Subject: [PATCH] Final IMAP fixes --- ChangeLog | 1 + ext/imap/imap.c | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index b6e83aec59..7e6015f9eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ PHP 4.0 CHANGE LOG ChangeLog ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ??? ?? 1999, Version 4.0 Beta 2 +- Made the IMAP module work with PHP 4.0 (Zeev) - Fixed a problem with include()/require() of URLs (Sascha, Zeev) - Fixed a bug in implode() that caused it to corrupt its arguments (Zeev) - Added get_class($obj), get_parent_class($obj) and method_exists($obj,"name") diff --git a/ext/imap/imap.c b/ext/imap/imap.c index 82bef45ad1..7d7014c066 100644 --- a/ext/imap/imap.c +++ b/ext/imap/imap.c @@ -1279,10 +1279,10 @@ PHP_FUNCTION(imap_headerinfo) do { MAKE_STD_ZVAL(ccvals); object_init(ccvals); - if(addresstmp->personal) add_property_string( &ccvals, "personal", addresstmp->personal, 1); - if(addresstmp->adl) add_property_string( &ccvals, "adl", addresstmp->adl, 1); - if(addresstmp->mailbox) add_property_string( &ccvals, "mailbox", addresstmp->mailbox, 1); - if(addresstmp->host) add_property_string( &ccvals, "host", addresstmp->host, 1); + if(addresstmp->personal) add_property_string(ccvals, "personal", addresstmp->personal, 1); + if(addresstmp->adl) add_property_string(ccvals, "adl", addresstmp->adl, 1); + if(addresstmp->mailbox) add_property_string(ccvals, "mailbox", addresstmp->mailbox, 1); + if(addresstmp->host) add_property_string(ccvals, "host", addresstmp->host, 1); add_next_index_object(cc, ccvals); } while ( (addresstmp = addresstmp->next) ); add_assoc_object(return_value, "cc", cc); -- 2.40.0