fetchmail-friends
[Top] [All Lists]

[fetchmail] [PATCH] #if -> #ifdef

2002-09-04 18:20:11
Hello,

I guess the following patch is correct:

--- fetchmail-5.9.13-orig/imap.c        Tue Jun  4 15:55:05 2002
+++ fetchmail-5.9.13/imap.c        Thu Sep  5 03:18:22 2002
@@ -18,9 +18,6 @@
 
 #include  "i18n.h"
 
-#if OPIE_ENABLE
-#endif /* OPIE_ENABLE */
-
 #ifndef strstr                /* glibc-2.1 declares this as a macro */
 extern char *strstr();        /* needed on sysV68 R3V7.1. */
 #endif /* strstr */
@@ -152,7 +149,7 @@
     }
 }
 
-#if NTLM_ENABLE
+#ifdef NTLM_ENABLE
 #include "ntlm.h"
 
 static tSmbNtlmAuthRequest   request;                   
@@ -376,7 +373,7 @@
             return ok;
     }
 
-#if OPIE_ENABLE
+#ifdef OPIE_ENABLE
     if ((ctl->server.authenticate == A_ANY 
          || ctl->server.authenticate == A_OTP)
         && strstr(capabilities, "AUTH=X-OTP"))
@@ -954,7 +951,7 @@
 const static struct method imap =
 {
     "IMAP",                /* Internet Message Access Protocol */
-#if INET6_ENABLE
+#ifdef INET6_ENABLE
     "imap",
     "imaps",
 #else /* INET6_ENABLE */


Regards,
Nerijus


<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail] [PATCH] #if -> #ifdef, Nerijus Baliunas <=