diff options
Diffstat (limited to 'lib/altsvc.c')
| -rw-r--r-- | lib/altsvc.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/altsvc.c b/lib/altsvc.c index c3dbb708a..28c9276b1 100644 --- a/lib/altsvc.c +++ b/lib/altsvc.c @@ -161,7 +161,7 @@ static CURLcode altsvc_add(struct altsvcinfo *asi, char *line)                date, &persist, &prio);    if(9 == rc) {      struct altsvc *as; -    time_t expires = curl_getdate(date, NULL); +    time_t expires = Curl_getdate_capped(date);      as = altsvc_create(srchost, dsthost, srcalpn, dstalpn, srcport, dstport);      if(as) {        as->expires = expires; | 
