getinfo.c: reset timecond when clearing session-info variables
authorAlessandro Ghedini <alessandro@ghedini.me>
Sat, 20 Apr 2013 10:09:55 +0000 (12:09 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 22 Apr 2013 20:43:32 +0000 (22:43 +0200)
Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705783
Reported-by: Ludovico Cavedon <cavedon@debian.org>
lib/getinfo.c

index 74e5b08..101ac90 100644 (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);