CVS update: php3/functions
| From: | musone | Date: | Fri, 11 Sep 1998 20:33:16 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-984@lists.php.net to get a copy of this message | ||
Date: Friday September 11, 1998 @ 16:33
Author: musone
Update of /repository/php3/functions
In directory asf:/u2/tmp/cvs-serv13960/functions
Modified Files:
imap.c
Log Message:
dont put in a comma before the first address!
Index: php3/functions/imap.c
diff -c php3/functions/imap.c:1.36 php3/functions/imap.c:1.37
*** php3/functions/imap.c:1.36 Fri Sep 11 16:09:02 1998
--- php3/functions/imap.c Fri Sep 11 16:33:14 1998
***************
*** 31,37 ****
| Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: imap.c,v 1.36 1998/09/11 20:09:02 musone Exp $ */
#define IMAP41
--- 31,37 ----
| Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: imap.c,v 1.37 1998/09/11 20:33:14 musone Exp $ */
#define IMAP41
***************
*** 1109,1115 ****
rfc822_write_address(tempaddress,addresstmp); /* ok, write the address into tempaddress
string */
if((strlen(tempaddress) + strlen(fulladdress)) < 1000) /* is the new address + total
address < 1000 */
{ /* yes */
! strcat(fulladdress,","); /* put in a comma */
strcat(fulladdress,tempaddress); /* put in the new address */
}
else /* no */
--- 1109,1115 ----
rfc822_write_address(tempaddress,addresstmp); /* ok, write the address into tempaddress
string */
if((strlen(tempaddress) + strlen(fulladdress)) < 1000) /* is the new address + total
address < 1000 */
{ /* yes */
! if(strlen(fulladdress)) strcat(fulladdress,","); /* put in a comma */
strcat(fulladdress,tempaddress); /* put in the new address */
}
else /* no */
***************
*** 1145,1151 ****
rfc822_write_address(tempaddress,addresstmp); /* ok, write the address into tempaddress
string */
if((strlen(tempaddress) + strlen(fulladdress)) < 1000) /* is the new address + total
address < 1000 */
{ /* yes */
! strcat(fulladdress,","); /* put in a comma */
strcat(fulladdress,tempaddress); /* put in the new address */
}
else /* no */
--- 1145,1151 ----
rfc822_write_address(tempaddress,addresstmp); /* ok, write the address into tempaddress
string */
if((strlen(tempaddress) + strlen(fulladdress)) < 1000) /* is the new address + total
address < 1000 */
{ /* yes */
! if(strlen(fulladdress)) strcat(fulladdress,","); /* put in a comma */
strcat(fulladdress,tempaddress); /* put in the new address */
}
else /* no */
***************
*** 1181,1187 ****
rfc822_write_address(tempaddress,addresstmp); /* ok, write the address into tempaddress
string */
if((strlen(tempaddress) + strlen(fulladdress)) < 1000) /* is the new address + total
address < 1000 */
{ /* yes */
! strcat(fulladdress,","); /* put in a comma */
strcat(fulladdress,tempaddress); /* put in the new address */
}
else /* no */
--- 1181,1187 ----
rfc822_write_address(tempaddress,addresstmp); /* ok, write the address into tempaddress
string */
if((strlen(tempaddress) + strlen(fulladdress)) < 1000) /* is the new address + total
address < 1000 */
{ /* yes */
! if(strlen(fulladdress)) strcat(fulladdress,","); /* put in a comma */
strcat(fulladdress,tempaddress); /* put in the new address */
}
else /* no */
***************
*** 1216,1222 ****
rfc822_write_address(tempaddress,addresstmp); /* ok, write the address into tempaddress
string */
if((strlen(tempaddress) + strlen(fulladdress)) < 1000) /* is the new address + total
address < 1000 */
{ /* yes */
! strcat(fulladdress,","); /* put in a comma */
strcat(fulladdress,tempaddress); /* put in the new address */
}
else /* no */
--- 1216,1222 ----
rfc822_write_address(tempaddress,addresstmp); /* ok, write the address into tempaddress
string */
if((strlen(tempaddress) + strlen(fulladdress)) < 1000) /* is the new address + total
address < 1000 */
{ /* yes */
! if(strlen(fulladdress)) strcat(fulladdress,","); /* put in a comma */
strcat(fulladdress,tempaddress); /* put in the new address */
}
else /* no */
***************
*** 1251,1257 ****
rfc822_write_address(tempaddress,addresstmp); /* ok, write the address into tempaddress
string */
if((strlen(tempaddress) + strlen(fulladdress)) < 1000) /* is the new address + total
address < 1000 */
{ /* yes */
! strcat(fulladdress,","); /* put in a comma */
strcat(fulladdress,tempaddress); /* put in the new address */
}
else /* no */
--- 1251,1257 ----
rfc822_write_address(tempaddress,addresstmp); /* ok, write the address into tempaddress
string */
if((strlen(tempaddress) + strlen(fulladdress)) < 1000) /* is the new address + total
address < 1000 */
{ /* yes */
! if(strlen(fulladdress)) strcat(fulladdress,","); /* put in a comma */
strcat(fulladdress,tempaddress); /* put in the new address */
}
else /* no */
***************
*** 1286,1292 ****
rfc822_write_address(tempaddress,addresstmp); /* ok, write the address into tempaddress
string */
if((strlen(tempaddress) + strlen(fulladdress)) < 1000) /* is the new address + total
address < 1000 */
{ /* yes */
! strcat(fulladdress,","); /* put in a comma */
strcat(fulladdress,tempaddress); /* put in the new address */
}
else /* no */
--- 1286,1292 ----
rfc822_write_address(tempaddress,addresstmp); /* ok, write the address into tempaddress
string */
if((strlen(tempaddress) + strlen(fulladdress)) < 1000) /* is the new address + total
address < 1000 */
{ /* yes */
! if(strlen(fulladdress)) strcat(fulladdress,","); /* put in a comma */
strcat(fulladdress,tempaddress); /* put in the new address */
}
else /* no */
***************
*** 1321,1327 ****
rfc822_write_address(tempaddress,addresstmp); /* ok, write the address into tempaddress
string */
if((strlen(tempaddress) + strlen(fulladdress)) < 1000) /* is the new address + total
address < 1000 */
{ /* yes */
! strcat(fulladdress,","); /* put in a comma */
strcat(fulladdress,tempaddress); /* put in the new address */
}
else /* no */
--- 1321,1327 ----
rfc822_write_address(tempaddress,addresstmp); /* ok, write the address into tempaddress
string */
if((strlen(tempaddress) + strlen(fulladdress)) < 1000) /* is the new address + total
address < 1000 */
{ /* yes */
! if(strlen(fulladdress)) strcat(fulladdress,","); /* put in a comma */
strcat(fulladdress,tempaddress); /* put in the new address */
}
else /* no */
***************
*** 1329,1335 ****
addresstmp=addresstmp2; /* reset the pointer to the next address first! */
}
! if(fulladdress) add_property_string( return_value, "return_pathaddress",
fulladdress, 1);
addresstmp=en->return_path;
array_init( &return_path );
do {
--- 1329,1335 ----
addresstmp=addresstmp2; /* reset the pointer to the next address first! */
}
! if(fulladdress) add_property_string( return_value, "return_pathaddress", fulladdress,
1);
addresstmp=en->return_path;
array_init( &return_path );
do {
--
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