1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/mail/qmail-contrib/files/extra-patch-striplocal
Steve Price a63d37261e Initial import of qmail-contrib version 0.1.
A set of contrib'd tools for qmail.

PR:		8899
Submitted by:	Neil Blakey-Milner <nbm@rucus.ru.ac.za>
1999-05-03 02:44:24 +00:00

29 lines
816 B
Plaintext

*** fastforward.c.orig Thu Apr 23 20:35:48 1998
--- fastforward.c Thu Apr 23 20:37:05 1998
***************
*** 261,270 ****
if (gettarget(1,"?",addr))
if (!stralloc_copy(&sender,&data)) nomem();
if (!gettarget(1,":",addr))
! if (flagpassthrough)
! _exit(0);
! else
! strerr_die1x(100,"Sorry, no mailbox here by that name. (#5.1.1)");
dodata();
}
--- 261,273 ----
if (gettarget(1,"?",addr))
if (!stralloc_copy(&sender,&data)) nomem();
if (!gettarget(1,":",addr))
! if (strpbrk(addr,"-"))
! if (!str_copy(addr,strpbrk(addr,"-")+1)) nomem();
! if (!gettarget(1,":",addr))
! if (flagpassthrough)
! _exit(0);
! else
! strerr_die1x(100,"Sorry, no mailbox here by that name. (#5.1.1)");
dodata();
}