cvs: /php3/functions imap.c
| From: | Charles Hagenbuch | Date: | Sun, 15 Aug 1999 17:27:20 +0000 |
| Subject: | cvs: /php3/functions imap.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9867@lists.php.net to get a copy of this message | ||
chagenbu Sun Aug 15 13:27:20 1999 EDT
Modified files:
/php3/functions imap.c
Log:
cjh: This fixes a problem in imap_fetchstructure that caused the piece of
the returned object that should have had the content-id header of that
message part to instead include the content-description header.
Index: php3/functions/imap.c
diff -u php3/functions/imap.c:1.63 php3/functions/imap.c:1.64
--- php3/functions/imap.c:1.63 Fri Aug 6 12:05:19 1999
+++ php3/functions/imap.c Sun Aug 15 13:27:19 1999
@@ -33,7 +33,7 @@
| Andrew Skalski <askalski@chek.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: imap.c,v 1.63 1999/08/06 16:05:19 chagenbu Exp $ */
+/* $Id: imap.c,v 1.64 1999/08/15 17:27:19 chagenbu Exp $ */
#define IMAP41
@@ -2104,7 +2104,7 @@
}
if ( body->id ){
add_property_long( arg, "ifid", 1 );
- if(body->description) add_property_string( arg, "id", body->description, 1 );
+ add_property_string( arg, "id", body->id, 1 );
} else {
add_property_long( arg, "ifid", 0 );
}