aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-04-23 00:05:21 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-04-23 00:05:21 +0000
commit495f6f6bd335d8f5244936f5850aa25355e2dfd2 (patch)
treee4895f0bdb61c2501adf00b8768864b9bc9beb9a
parent36e35b6f6003d061d125318bb547bed1c9a74bbe (diff)
use new timecond defines
-rw-r--r--src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index cab72a2a0..452edcc7b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1571,16 +1571,16 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
nextarg++;
default:
/* If-Modified-Since: (section 14.28 in RFC2068) */
- config->timecond = TIMECOND_IFMODSINCE;
+ config->timecond = CURL_TIMECOND_IFMODSINCE;
break;
case '-':
/* If-Unmodified-Since: (section 14.24 in RFC2068) */
- config->timecond = TIMECOND_IFUNMODSINCE;
+ config->timecond = CURL_TIMECOND_IFUNMODSINCE;
nextarg++;
break;
case '=':
/* Last-Modified: (section 14.29 in RFC2068) */
- config->timecond = TIMECOND_LASTMOD;
+ config->timecond = CURL_TIMECOND_LASTMOD;
nextarg++;
break;
}
@@ -1591,7 +1591,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
struct stat statbuf;
if(-1 == stat(nextarg, &statbuf)) {
/* failed, remove time condition */
- config->timecond = TIMECOND_NONE;
+ config->timecond = CURL_TIMECOND_NONE;
}
else {
/* pull the time out from the file */