Re: [PHP4BETA] cvs: /php4/ext/imap imap.c
| From: | Chuck Hagenbuch | Date: | Fri, 29 Oct 1999 23:18:42 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4/ext/imap imap.c | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-12015@lists.php.net to get a copy of this message | ||
Quoting Rasmus Lerdorf <rasmus@php.net>:
> if ( body->id ){
> add_property_long( return_value, "ifid", 1 );
> - if(body->description) add_property_string( return_value, "id",
> body->description, 1 );
> + if(body->description) add_property_string( return_value, "id", body->id, 1
> );
> } else {
> add_property_long( return_value, "ifid", 0 );
> }
I'm a bit confused about the logic here. Why should body->description be
checked at all - if body->id is there, it should be used. Or am I missing
something?
-chuck
--
Charles Hagenbuch, <chagenbu@wso.williams.edu>
--
must... find... acorns... *thud*