Date: 12/31/98
- Next message: Steve Williams: "Re: [PHP-DEV] Unified ODBC / 3.0.6 Intermittent Failure"
- Previous message: alex <email protected>: "[PHP-DEV] Bug #1019: imap_header() not working correctly"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The following patch appears to fix imap_header(). I don't know why the
lines that I'm removing where put there in the first place, though, so
if they do, in fact, need to be there, I'll be happy to find another
way around the problem.
Thanks,
Alex Plotnick <alex <email protected>>
WorldGate Communications, Inc.
Index: functions/imap.c
===================================================================
RCS file: /repository/php3/functions/imap.c,v
retrieving revision 1.49
diff -u -r1.49 imap.c
--- functions/imap.c 1998/11/23 05:52:03 1.49
+++ functions/imap.c 1998/12/31 19:30:06
@@ -1191,7 +1191,6 @@
while(ok && addresstmp) /* while length < 1000 and we are not at the end of the list */
{
addresstmp2=addresstmp->next; /* save the pointer to the next address */
- addresstmp->next=NULL; /* make this address the only one now. */
tempaddress[0]=0x00; /* reset tempaddress buffer */
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 */
@@ -1230,7 +1229,6 @@
while(ok && addresstmp) /* while length < 1000 and we are not at the end of the list */
{
addresstmp2=addresstmp->next; /* save the pointer to the next address */
- addresstmp->next=NULL; /* make this address the only one now. */
tempaddress[0]=0x00; /* reset tempaddress buffer */
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 */
@@ -1269,7 +1267,6 @@
while(ok && addresstmp) /* while length < 1000 and we are not at the end of the list */
{
addresstmp2=addresstmp->next; /* save the pointer to the next address */
- addresstmp->next=NULL; /* make this address the only one now. */
tempaddress[0]=0x00; /* reset tempaddress buffer */
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 */
@@ -1307,7 +1304,6 @@
while(ok && addresstmp) /* while length < 1000 and we are not at the end of the list */
{
addresstmp2=addresstmp->next; /* save the pointer to the next address */
- addresstmp->next=NULL; /* make this address the only one now. */
tempaddress[0]=0x00; /* reset tempaddress buffer */
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 */
@@ -1345,7 +1341,6 @@
while(ok && addresstmp) /* while length < 1000 and we are not at the end of the list */
{
addresstmp2=addresstmp->next; /* save the pointer to the next address */
- addresstmp->next=NULL; /* make this address the only one now. */
tempaddress[0]=0x00; /* reset tempaddress buffer */
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 */
@@ -1383,7 +1378,6 @@
while(ok && addresstmp) /* while length < 1000 and we are not at the end of the list */
{
addresstmp2=addresstmp->next; /* save the pointer to the next address */
- addresstmp->next=NULL; /* make this address the only one now. */
tempaddress[0]=0x00; /* reset tempaddress buffer */
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 */
@@ -1421,7 +1415,6 @@
while(ok && addresstmp) /* while length < 1000 and we are not at the end of the list */
{
addresstmp2=addresstmp->next; /* save the pointer to the next address */
- addresstmp->next=NULL; /* make this address the only one now. */
tempaddress[0]=0x00; /* reset tempaddress buffer */
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 */
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: Steve Williams: "Re: [PHP-DEV] Unified ODBC / 3.0.6 Intermittent Failure"
- Previous message: alex <email protected>: "[PHP-DEV] Bug #1019: imap_header() not working correctly"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

