1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/mail/qmail/files/extra-patch-qmail-local.c
Bryan Drewery bf48a40a29 Switch mail/qmail and mail/qmail-mysql to using netqmail. Switch their
PKGNAMEs to reflect this as well and bump their version up to the last
netqmail release of 1.06.

qmail-ldap and qmail-spamcontrol explicitly want to be applied on stock
qmail, so leave those alone.

This does not bring much, but it allows easier updates to qmail-tls and
some of the other patches which depend on netqmail.

qmail-tls is left as qmail for now. It will be updated to the newer
revision soon which does require netqmail.

Changes include:
  * QMAILQUEUE by default
  * Fix for 0.0.0.0
  * qmail-smtpd is protected from exceedingly long (eg 2GB) headers

Other than those listed, there are no other significant changes beyond
documentation or patches that were already applied by default.
2014-06-20 03:03:41 +00:00

12 lines
362 B
C

--- qmail-local.c.orig Sun Nov 23 18:30:43 2003
+++ qmail-local.c Sun Nov 23 18:31:31 2003
@@ -645,7 +645,7 @@
{
cmds.s[j] = 0;
k = j;
- while ((k > i) && (cmds.s[k - 1] == ' ') || (cmds.s[k - 1] == '\t'))
+ while ((k > i) && ((cmds.s[k - 1] == ' ') || (cmds.s[k - 1] == '\t')))
cmds.s[--k] = 0;
switch(cmds.s[i])
{