diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-01-18 13:04:48 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-01-18 13:04:48 +0000 |
commit | 49f7fa82b95e5f6fe816f842d41af11359dd7342 (patch) | |
tree | 4a21d2ebe834fc0a210476afa8bb94eaf21f3877 | |
parent | e4cd4cf3f30a49cbc0b789afa03b639aa1796eba (diff) | |
download | gnurl-49f7fa82b95e5f6fe816f842d41af11359dd7342.tar.gz gnurl-49f7fa82b95e5f6fe816f842d41af11359dd7342.tar.bz2 gnurl-49f7fa82b95e5f6fe816f842d41af11359dd7342.zip |
#if [undefined] => #ifdef [undefined]
-rw-r--r-- | include/curl/curl.h | 4 | ||||
-rw-r--r-- | lib/ftp.c | 2 | ||||
-rw-r--r-- | lib/netrc.c | 2 |
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> @@ -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; |