Skip to content

Commit

Permalink
use the proper timecond defines, not the obsolete ones!
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Jan 21, 2004
1 parent 945c6f7 commit e262a72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/transfer.c
Expand Up @@ -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,
Expand All @@ -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");
Expand Down

0 comments on commit e262a72

Please sign in to comment.