From c325bc190633349e806d0f2c313ace2338950f88 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 18 Jun 2004 20:16:42 +0000 Subject: Compiler warnings fixes, preprocessor and minor general cleanup. svn path=/trunk/; revision=3901 --- imap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'imap.c') diff --git a/imap.c b/imap.c index bae1d50a..d7f0b83f 100644 --- a/imap.c +++ b/imap.c @@ -19,7 +19,7 @@ #include "i18n.h" -#if OPIE_ENABLE +#ifdef OPIE_ENABLE #endif /* OPIE_ENABLE */ #ifndef strstr /* glibc-2.1 declares this as a macro */ @@ -162,7 +162,7 @@ static int imap_ok(int sock, char *argbuf) } } -#if NTLM_ENABLE +#ifdef NTLM_ENABLE #include "ntlm.h" static tSmbNtlmAuthRequest request; @@ -440,7 +440,7 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting) return ok; } -#if OPIE_ENABLE +#ifdef OPIE_ENABLE if ((ctl->server.authenticate == A_ANY || ctl->server.authenticate == A_OTP) && strstr(capabilities, "AUTH=X-OTP")) @@ -1113,7 +1113,7 @@ static int imap_logout(int sock, struct query *ctl) static const struct method imap = { "IMAP", /* Internet Message Access Protocol */ -#if INET6_ENABLE +#ifdef INET6_ENABLE "imap", "imaps", #else /* INET6_ENABLE */ -- cgit v1.2.3