mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05: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->httpversion=0;
|
||||
info->filetime=-1; /* -1 is an illegal time and thus means unknown */
|
||||
info->timecond=0;
|
||||
|
||||
if(info->contenttype)
|
||||
free(info->contenttype);
|
||||
|
Loading…
Reference in New Issue
Block a user