aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-21 08:47:21 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-21 08:47:21 +0000
commite262a7265a2f75ed239beb2360657a63a342163f (patch)
tree870248c758d10d288ca4364d9bde24215998456b /lib
parent945c6f727992093d9ded3a35b624037b151ffebb (diff)
use the proper timecond defines, not the obsolete ones!
Diffstat (limited to 'lib')
-rw-r--r--lib/transfer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 676219ec1..0cf9ef222 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -888,7 +888,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
HTTP/1.1 client */
if((k->timeofdoc > 0) && (data->set.timevalue > 0)) {
switch(data->set.timecondition) {
- case TIMECOND_IFMODSINCE:
+ case CURL_TIMECOND_IFMODSINCE:
default:
if(k->timeofdoc < data->set.timevalue) {
infof(data,
@@ -897,7 +897,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
return CURLE_OK;
}
break;
- case TIMECOND_IFUNMODSINCE:
+ case CURL_TIMECOND_IFUNMODSINCE:
if(k->timeofdoc > data->set.timevalue) {
infof(data,
"The requested document is not old enough\n");