aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2004-06-18 20:16:42 +0000
committerMatthias Andree <matthias.andree@gmx.de>2004-06-18 20:16:42 +0000
commitc325bc190633349e806d0f2c313ace2338950f88 (patch)
tree69ef866dee66bd1548e19f58faa513c460242bf7 /imap.c
parent5ffe6f98f8ba802ccd973724702a2d44757c4291 (diff)
downloadfetchmail-c325bc190633349e806d0f2c313ace2338950f88.tar.gz
fetchmail-c325bc190633349e806d0f2c313ace2338950f88.tar.bz2
fetchmail-c325bc190633349e806d0f2c313ace2338950f88.zip
Compiler warnings fixes, preprocessor and minor general cleanup.
svn path=/trunk/; revision=3901
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c8
1 files changed, 4 insertions, 4 deletions
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 */