1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/mail/qmail-ldap/files/patch-20120221-fixes
Bryan Drewery d39b6f750b Update mail/qmail-ldap to 20120221
- SMTPAUTHUSER option removed as it is now in upstream
- Apply upstream fixes from mailing lists

Changes:	http://www.nrg4u.com/qmail/QLDAPNEWS
2014-06-30 17:14:50 +00:00

38 lines
1.0 KiB
Plaintext

http://marc.info/?l=qmail-ldap&m=133012503615968&q=raw
List: qmail-ldap
Subject: Re: qmail-ldap-1.03-20120221.patch
From: Claudio Jeker <jeker () n-r-g ! com>
Date: 2012-02-24 23:09:56
Index: auth_dovecot.c
===================================================================
RCS file: /home/cvs-djbware/CVS/qmail-ldap/auth_dovecot.c,v
retrieving revision 1.2
diff -u -p -r1.2 auth_dovecot.c
--- auth_dovecot.c 17 Apr 2009 19:51:58 -0000 1.2
+++ auth_dovecot.c 25 Feb 2012 00:08:05 -0000
@@ -127,7 +127,9 @@ auth_setup(struct credentials *c)
void
auth_init(int argc, char **argv, stralloc *login, stralloc *authdata)
{
+#ifdef DEBUG
extern unsigned long loglevel;
+#endif
char *l, *p;
unsigned int uplen, u;
int n, opt;
@@ -140,10 +142,12 @@ auth_init(int argc, char **argv, strallo
case 'd':
pbstool = optarg;
break;
+#ifdef DEBUG
case 'D':
scan_ulong(optarg, &loglevel);
loglevel &= ~256; /* see auth_mod.c */
break;
+#endif
default:
auth_error(AUTH_CONF);
}