#if [undefined] => #ifdef [undefined]
authorDaniel Stenberg <daniel@haxx.se>
Fri, 18 Jan 2002 13:04:48 +0000 (13:04 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 18 Jan 2002 13:04:48 +0000 (13:04 +0000)
include/curl/curl.h
lib/ftp.c
lib/netrc.c

index e05db85..2e948d8 100644 (file)
 # include <time.h>
 #else
 # include <sys/types.h>
-# if TIME_WITH_SYS_TIME
+# ifdef TIME_WITH_SYS_TIME
 #  include <sys/time.h>
 #  include <time.h>
 # else
-#  if HAVE_SYS_TIME_H
+#  ifdef HAVE_SYS_TIME_H
 #   include <sys/time.h>
 #  else
 #   include <time.h>
index 29c0cb8..6b142dd 100644 (file)
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -358,7 +358,7 @@ int Curl_GetFTPResponse(char *buf,
   if(!error)
     code = atoi(buf);
 
-#if KRB4
+#ifdef KRB4
   /* handle the security-oriented responses 6xx ***/
   /* FIXME: some errorchecking perhaps... ***/
   switch(code) {
index 8b68448..f50bf5b 100644 (file)
@@ -157,7 +157,7 @@ int Curl_parsenetrc(char *host,
          }
          else if(state_password) {
            strncpy(password, tok, PASSWORDSIZE-1);
-#if _NETRC_DEBUG
+#ifdef _NETRC_DEBUG
            printf("PASSWORD: %s\n", password);
 #endif
            state_password=0;