mirror of
https://github.com/curl/curl.git
synced 2026-07-29 00:03:12 +03:00
getinfo.c: reset timecond when clearing session-info variables
Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705783 Reported-by: Ludovico Cavedon <cavedon@debian.org>
This commit is contained in:
parent
868d8e6831
commit
c49ed0b6c0
1 changed files with 1 additions and 0 deletions
|
|
@ -55,6 +55,7 @@ CURLcode Curl_initinfo(struct SessionHandle *data)
|
||||||
info->httpcode = 0;
|
info->httpcode = 0;
|
||||||
info->httpversion=0;
|
info->httpversion=0;
|
||||||
info->filetime=-1; /* -1 is an illegal time and thus means unknown */
|
info->filetime=-1; /* -1 is an illegal time and thus means unknown */
|
||||||
|
info->timecond=0;
|
||||||
|
|
||||||
if(info->contenttype)
|
if(info->contenttype)
|
||||||
free(info->contenttype);
|
free(info->contenttype);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue