aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2013-04-20 12:09:55 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-04-22 22:43:32 +0200
commitc49ed0b6c0fad21b77fe8d17d7b5bef182c5ecdf (patch)
treeb211f3b876990cbb099158dc634c1c36e5ba9f31
parent868d8e68315f1d30d5a33c93f79022cd84632437 (diff)
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>
-rw-r--r--lib/getinfo.c1
1 files changed, 1 insertions, 0 deletions
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);