projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
868d8e6
)
getinfo.c: reset timecond when clearing session-info variables
author
Alessandro Ghedini
<alessandro@ghedini.me>
Sat, 20 Apr 2013 10:09:55 +0000
(12:09 +0200)
committer
Daniel 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
patch
|
blob
|
history
diff --git
a/lib/getinfo.c
b/lib/getinfo.c
index
74e5b08
..
101ac90
100644
(file)
--- 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);