CVS update: php3/functions
| From: | musone | Date: | Sat, 12 Sep 1998 01:50:10 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-990@lists.php.net to get a copy of this message | ||
Date: Friday September 11, 1998 @ 21:50
Author: musone
Update of /repository/php3/functions
In directory asf:/u2/tmp/cvs-serv12129
Modified Files:
imap.c
Log Message:
only get the first from address, to make sure we dont
overflow.
Index: php3/functions/imap.c
diff -c php3/functions/imap.c:1.37 php3/functions/imap.c:1.38
*** php3/functions/imap.c:1.37 Fri Sep 11 16:33:14 1998
--- php3/functions/imap.c Fri Sep 11 21:50:08 1998
***************
*** 31,37 ****
| Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: imap.c,v 1.37 1998/09/11 20:33:14 musone Exp $ */
#define IMAP41
--- 31,37 ----
| Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: imap.c,v 1.38 1998/09/12 01:50:08 musone Exp $ */
#define IMAP41
***************
*** 2138,2143 ****
--- 2138,2144 ----
(env = mail_fetch_structure (imap_le_struct->imap_stream,i,NIL,NIL))) {
object_init(&myoverview);
add_property_string(&myoverview,"subject",env->subject,1);
+ env->from->next=NULL;
rfc822_write_address(address,env->from);
add_property_string(&myoverview,"from",address,1);
add_property_string(&myoverview,"date",env->date,1);
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net