diff options
| author | Zeev Suraski <zeev@php.net> | 1999-08-01 00:25:58 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-08-01 00:25:58 +0000 |
| commit | 7297f5196e619ea3512b3d4d461b23ba8241bd37 (patch) | |
| tree | dd74882b2e21762dc48caa5deb9c1d8f9057c93e | |
| parent | 2dda8d7f9760ee735c5e8829599c4c88a87e0628 (diff) | |
| download | php-git-7297f5196e619ea3512b3d4d461b23ba8241bd37.tar.gz | |
Final IMAP fixes
| -rw-r--r-- | ChangeLog | 1 | ||||
| -rw-r--r-- | ext/imap/imap.c | 8 |
2 files changed, 5 insertions, 4 deletions
@@ -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); |
