CVS update: php3/functions

From: Date: Thu, 17 Sep 1998 15:32:09 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-1198@lists.php.net to get a copy of this message
Date: Thursday September 17, 1998 @ 11:32 Author: musone Update of /repository/php3/functions In directory asf:/u2/tmp/cvs-serv1179 Modified Files: imap.c Log Message: add a ... if there are too many addresses Index: php3/functions/imap.c diff -c php3/functions/imap.c:1.39 php3/functions/imap.c:1.40 *** php3/functions/imap.c:1.39 Fri Sep 11 22:01:16 1998 --- php3/functions/imap.c Thu Sep 17 11:32:05 1998 *************** *** 31,37 **** | Rasmus Lerdorf <rasmus@lerdorf.on.ca> | +----------------------------------------------------------------------+ */ ! /* $Id: imap.c,v 1.39 1998/09/12 02:01:16 musone Exp $ */ #define IMAP41 --- 31,37 ---- | Rasmus Lerdorf <rasmus@lerdorf.on.ca> | +----------------------------------------------------------------------+ */ ! /* $Id: imap.c,v 1.40 1998/09/17 15:32:05 musone Exp $ */ #define IMAP41 *************** *** 1113,1119 **** --- 1113,1122 ---- strcat(fulladdress,tempaddress); /* put in the new address */ } else /* no */ + { ok=0; /* stop looping */ + strcat(fulladdress,", ..."); + } addresstmp=addresstmp2; /* reset the pointer to the next address first! */ } *************** *** 1149,1155 **** --- 1152,1161 ---- strcat(fulladdress,tempaddress); /* put in the new address */ } else /* no */ + { ok=0; /* stop looping */ + strcat(fulladdress,", ..."); + } addresstmp=addresstmp2; /* reset the pointer to the next address first! */ } *************** *** 1185,1191 **** --- 1191,1200 ---- strcat(fulladdress,tempaddress); /* put in the new address */ } else /* no */ + { ok=0; /* stop looping */ + strcat(fulladdress,", ..."); + } addresstmp=addresstmp2; /* reset the pointer to the next address first! */ } *************** *** 1220,1226 **** --- 1229,1238 ---- strcat(fulladdress,tempaddress); /* put in the new address */ } else /* no */ + { ok=0; /* stop looping */ + strcat(fulladdress,", ..."); + } addresstmp=addresstmp2; /* reset the pointer to the next address first! */ } *************** *** 1255,1261 **** --- 1267,1276 ---- strcat(fulladdress,tempaddress); /* put in the new address */ } else /* no */ + { ok=0; /* stop looping */ + strcat(fulladdress,", ..."); + } addresstmp=addresstmp2; /* reset the pointer to the next address first! */ } *************** *** 1290,1296 **** strcat(fulladdress,tempaddress); /* put in the new address */ } else /* no */ ! ok=0; /* stop looping */ addresstmp=addresstmp2; /* reset the pointer to the next address first! */ } --- 1305,1314 ---- strcat(fulladdress,tempaddress); /* put in the new address */ } else /* no */ ! { ! ok=0; /* stop looping */ ! strcat(fulladdress,", ..."); ! } addresstmp=addresstmp2; /* reset the pointer to the next address first! */ } *************** *** 1325,1331 **** strcat(fulladdress,tempaddress); /* put in the new address */ } else /* no */ ! ok=0; /* stop looping */ addresstmp=addresstmp2; /* reset the pointer to the next address first! */ } --- 1343,1352 ---- strcat(fulladdress,tempaddress); /* put in the new address */ } else /* no */ ! { ! ok=0; /* stop looping */ ! strcat(fulladdress,", ..."); ! } addresstmp=addresstmp2; /* reset the pointer to the next address first! */ } -- 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 (#1198) next »