#if [undefined] => #ifdef [undefined]
This commit is contained in:
parent
e4cd4cf3f3
commit
49f7fa82b9
@ -30,11 +30,11 @@
|
|||||||
# include <time.h>
|
# include <time.h>
|
||||||
#else
|
#else
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
# if TIME_WITH_SYS_TIME
|
# ifdef TIME_WITH_SYS_TIME
|
||||||
# include <sys/time.h>
|
# include <sys/time.h>
|
||||||
# include <time.h>
|
# include <time.h>
|
||||||
# else
|
# else
|
||||||
# if HAVE_SYS_TIME_H
|
# ifdef HAVE_SYS_TIME_H
|
||||||
# include <sys/time.h>
|
# include <sys/time.h>
|
||||||
# else
|
# else
|
||||||
# include <time.h>
|
# include <time.h>
|
||||||
|
@ -358,7 +358,7 @@ int Curl_GetFTPResponse(char *buf,
|
|||||||
if(!error)
|
if(!error)
|
||||||
code = atoi(buf);
|
code = atoi(buf);
|
||||||
|
|
||||||
#if KRB4
|
#ifdef KRB4
|
||||||
/* handle the security-oriented responses 6xx ***/
|
/* handle the security-oriented responses 6xx ***/
|
||||||
/* FIXME: some errorchecking perhaps... ***/
|
/* FIXME: some errorchecking perhaps... ***/
|
||||||
switch(code) {
|
switch(code) {
|
||||||
|
@ -157,7 +157,7 @@ int Curl_parsenetrc(char *host,
|
|||||||
}
|
}
|
||||||
else if(state_password) {
|
else if(state_password) {
|
||||||
strncpy(password, tok, PASSWORDSIZE-1);
|
strncpy(password, tok, PASSWORDSIZE-1);
|
||||||
#if _NETRC_DEBUG
|
#ifdef _NETRC_DEBUG
|
||||||
printf("PASSWORD: %s\n", password);
|
printf("PASSWORD: %s\n", password);
|
||||||
#endif
|
#endif
|
||||||
state_password=0;
|
state_password=0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user