summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-01-18 13:04:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-01-18 13:04:48 +0000
commit49f7fa82b95e5f6fe816f842d41af11359dd7342 (patch)
tree4a21d2ebe834fc0a210476afa8bb94eaf21f3877
parente4cd4cf3f30a49cbc0b789afa03b639aa1796eba (diff)
downloadgnurl-49f7fa82b95e5f6fe816f842d41af11359dd7342.tar.gz
gnurl-49f7fa82b95e5f6fe816f842d41af11359dd7342.tar.bz2
gnurl-49f7fa82b95e5f6fe816f842d41af11359dd7342.zip
#if [undefined] => #ifdef [undefined]
-rw-r--r--include/curl/curl.h4
-rw-r--r--lib/ftp.c2
-rw-r--r--lib/netrc.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index e05db85c4..2e948d8a8 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -30,11 +30,11 @@
# 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>
diff --git a/lib/ftp.c b/lib/ftp.c
index 29c0cb8bb..6b142dd8a 100644
--- 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) {
diff --git a/lib/netrc.c b/lib/netrc.c
index 8b6844825..f50bf5bad 100644
--- a/lib/netrc.c
+++ b/lib/netrc.c
@@ -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;