CVS update: php3/functions

From: Date: Mon, 11 Jan 1999 16:08:47 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-3472@lists.php.net to get a copy of this message
Date: Monday January 11, 1999 @ 11:08 Author: musone Update of /repository/php3/functions In directory asf:/u/temp/cvs-serv5703 Modified Files: imap.c Log Message: fixed bug in imap_header where it was only returning an array of 1 element for the header addresses Index: php3/functions/imap.c diff -c php3/functions/imap.c:1.52 php3/functions/imap.c:1.53 *** php3/functions/imap.c:1.52 Mon Jan 4 09:25:21 1999 --- php3/functions/imap.c Mon Jan 11 11:08:47 1999 *************** *** 31,37 **** | Rasmus Lerdorf <rasmus@lerdorf.on.ca> | +----------------------------------------------------------------------+ */ ! /* $Id: imap.c,v 1.52 1999/01/04 14:25:21 jah Exp $ */ #define IMAP41 --- 31,37 ---- | Rasmus Lerdorf <rasmus@lerdorf.on.ca> | +----------------------------------------------------------------------+ */ ! /* $Id: imap.c,v 1.53 1999/01/11 16:08:47 musone Exp $ */ #define IMAP41 *************** *** 1228,1234 **** ok=0; /* stop looping */ strcat(fulladdress,", ..."); } ! addresstmp=addresstmp2; /* reset the pointer to the next address first! */ } if(fulladdress) add_property_string( return_value, "toaddress", fulladdress, 1); --- 1228,1235 ---- ok=0; /* stop looping */ strcat(fulladdress,", ..."); } ! addresstmp->next=addresstmp2; /* reset the pointer to the next address first! */ ! addresstmp=addresstmp->next; } if(fulladdress) add_property_string( return_value, "toaddress", fulladdress, 1); *************** *** 1267,1273 **** ok=0; /* stop looping */ strcat(fulladdress,", ..."); } ! addresstmp=addresstmp2; /* reset the pointer to the next address first! */ } if(fulladdress) add_property_string( return_value, "fromaddress", fulladdress, 1); --- 1268,1275 ---- ok=0; /* stop looping */ strcat(fulladdress,", ..."); } ! addresstmp->next=addresstmp2; /* reset the pointer to the next address first! */ ! addresstmp=addresstmp->next; } if(fulladdress) add_property_string( return_value, "fromaddress", fulladdress, 1); *************** *** 1306,1312 **** ok=0; /* stop looping */ strcat(fulladdress,", ..."); } ! addresstmp=addresstmp2; /* reset the pointer to the next address first! */ } if(fulladdress) add_property_string( return_value, "ccaddress", fulladdress, 1); --- 1308,1315 ---- ok=0; /* stop looping */ strcat(fulladdress,", ..."); } ! addresstmp->next=addresstmp2; /* reset the pointer to the next address first! */ ! addresstmp=addresstmp->next; } if(fulladdress) add_property_string( return_value, "ccaddress", fulladdress, 1); *************** *** 1344,1350 **** ok=0; /* stop looping */ strcat(fulladdress,", ..."); } ! addresstmp=addresstmp2; /* reset the pointer to the next address first! */ } if(fulladdress) add_property_string( return_value, "bccaddress", fulladdress, 1); --- 1347,1354 ---- ok=0; /* stop looping */ strcat(fulladdress,", ..."); } ! addresstmp->next=addresstmp2; /* reset the pointer to the next address first! */ ! addresstmp=addresstmp->next; } if(fulladdress) add_property_string( return_value, "bccaddress", fulladdress, 1); *************** *** 1382,1388 **** ok=0; /* stop looping */ strcat(fulladdress,", ..."); } ! addresstmp=addresstmp2; /* reset the pointer to the next address first! */ } if(fulladdress) add_property_string( return_value, "reply_toaddress", fulladdress, 1); --- 1386,1393 ---- ok=0; /* stop looping */ strcat(fulladdress,", ..."); } ! addresstmp->next=addresstmp2; /* reset the pointer to the next address first! */ ! addresstmp=addresstmp->next; } if(fulladdress) add_property_string( return_value, "reply_toaddress", fulladdress, 1); *************** *** 1420,1426 **** ok=0; /* stop looping */ strcat(fulladdress,", ..."); } ! addresstmp=addresstmp2; /* reset the pointer to the next address first! */ } if(fulladdress) add_property_string( return_value, "senderaddress", fulladdress, 1); --- 1425,1432 ---- ok=0; /* stop looping */ strcat(fulladdress,", ..."); } ! addresstmp=>next=addresstmp2; /* reset the pointer to the next address first! */ ! addresstmp=addresstmp->next; } if(fulladdress) add_property_string( return_value, "senderaddress", fulladdress, 1); *************** *** 1458,1464 **** ok=0; /* stop looping */ strcat(fulladdress,", ..."); } ! addresstmp=addresstmp2; /* reset the pointer to the next address first! */ } if(fulladdress) add_property_string( return_value, "return_pathaddress", fulladdress, 1); --- 1464,1471 ---- ok=0; /* stop looping */ strcat(fulladdress,", ..."); } ! addresstmp->next=addresstmp2; /* reset the pointer to the next address first! */ ! addresstmp=addresstmp->next; } if(fulladdress) add_property_string( return_value, "return_pathaddress", fulladdress, 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

« previous php.dev (#3472) next »