diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2004-06-18 20:16:42 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2004-06-18 20:16:42 +0000 |
commit | c325bc190633349e806d0f2c313ace2338950f88 (patch) | |
tree | 69ef866dee66bd1548e19f58faa513c460242bf7 /imap.c | |
parent | 5ffe6f98f8ba802ccd973724702a2d44757c4291 (diff) | |
download | fetchmail-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.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 */ |