http://marc.info/?l=qmail-ldap&m=133012503615968&q=raw List: qmail-ldap Subject: Re: qmail-ldap-1.03-20120221.patch From: Claudio Jeker 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); }