mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04: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
@ -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…
x
Reference in New Issue
Block a user