From c49ed0b6c0fad21b77fe8d17d7b5bef182c5ecdf Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Sat, 20 Apr 2013 12:09:55 +0200 Subject: getinfo.c: reset timecond when clearing session-info variables Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705783 Reported-by: Ludovico Cavedon --- lib/getinfo.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/getinfo.c b/lib/getinfo.c index 74e5b0893..101ac90a4 100644 --- a/lib/getinfo.c +++ b/lib/getinfo.c @@ -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); -- cgit v1.2.3