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:
Alessandro Ghedini 2013-04-20 12:09:55 +02:00 committed by Daniel Stenberg
parent 868d8e6831
commit c49ed0b6c0
1 changed files with 1 additions and 0 deletions

View File

@ -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);