Date: 10/29/99
- Next message: Richard Lynch: "[PHP-DEV] Un*x Security Experts"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] Bug #2627: copy/paste bug in imap_fetchstructure ?"
- Next in thread: Rasmus Lerdorf: "Re: [PHP-DEV] Re: [PHP4BETA] cvs: /php4/ext/imap imap.c"
- Reply: Rasmus Lerdorf: "Re: [PHP-DEV] Re: [PHP4BETA] cvs: /php4/ext/imap imap.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Quoting Rasmus Lerdorf <rasmus <email protected>>:
> 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 <email protected>> -- must... find... acorns... *thud*-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Richard Lynch: "[PHP-DEV] Un*x Security Experts"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] Bug #2627: copy/paste bug in imap_fetchstructure ?"
- Next in thread: Rasmus Lerdorf: "Re: [PHP-DEV] Re: [PHP4BETA] cvs: /php4/ext/imap imap.c"
- Reply: Rasmus Lerdorf: "Re: [PHP-DEV] Re: [PHP4BETA] cvs: /php4/ext/imap imap.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

