parseaddr.c (112810) | parseaddr.c (120169) |
---|---|
1/* 2 * Copyright (c) 1998-2003 Sendmail, Inc. and its suppliers. 3 * All rights reserved. 4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 5 * Copyright (c) 1988, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * By using this file, you agree to the terms and conditions set --- 686 unchanged lines hidden (view full) --- 695 if (q >= &pvpbuf[pvpbsize - 5]) 696 { 697 addrtoolong: 698 usrerr("553 5.1.1 Address too long"); 699 if (strlen(addr) > MAXNAME) 700 addr[MAXNAME] = '\0'; 701 returnnull: 702 if (delimptr != NULL) | 1/* 2 * Copyright (c) 1998-2003 Sendmail, Inc. and its suppliers. 3 * All rights reserved. 4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 5 * Copyright (c) 1988, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * By using this file, you agree to the terms and conditions set --- 686 unchanged lines hidden (view full) --- 695 if (q >= &pvpbuf[pvpbsize - 5]) 696 { 697 addrtoolong: 698 usrerr("553 5.1.1 Address too long"); 699 if (strlen(addr) > MAXNAME) 700 addr[MAXNAME] = '\0'; 701 returnnull: 702 if (delimptr != NULL) |
703 { 704 if (p > addr) 705 p--; |
|
703 *delimptr = p; | 706 *delimptr = p; |
707 } |
|
704 CurEnv->e_to = saveto; 705 return NULL; 706 } 707 708 /* squirrel it away */ 709#if !ALLOW_255 710 if ((char) c == (char) -1 && !tTd(82, 101)) 711 c &= 0x7f; --- 2484 unchanged lines hidden --- | 708 CurEnv->e_to = saveto; 709 return NULL; 710 } 711 712 /* squirrel it away */ 713#if !ALLOW_255 714 if ((char) c == (char) -1 && !tTd(82, 101)) 715 c &= 0x7f; --- 2484 unchanged lines hidden --- |