summaryrefslogtreecommitdiff
path: root/lib/getinfo.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-02-20 13:46:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-02-20 13:46:53 +0000
commit721b05e3436884fc1e1b55f211e7fa4251d92a2a (patch)
treee803d7e8b88499be988b4d557ee57fc5c02e2512 /lib/getinfo.c
parenta333bddeeb6ce46f0a7d218d78fa700c881f2833 (diff)
downloadcurl-721b05e3436884fc1e1b55f211e7fa4251d92a2a.tar.gz
Nico Baggus' VMS tweaks
Diffstat (limited to 'lib/getinfo.c')
-rw-r--r--lib/getinfo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/getinfo.c b/lib/getinfo.c
index 1df9b1743..8548975b8 100644
--- a/lib/getinfo.c
+++ b/lib/getinfo.c
@@ -31,6 +31,10 @@
#include <string.h>
#include <stdarg.h>
+#ifdef VMS
+#include <stdlib.h>
+#endif
+
/*
* This is supposed to be called in the beginning of a permform() session
* and should reset all session-info variables
@@ -44,6 +48,7 @@ CURLcode Curl_initinfo(struct SessionHandle *data)
pro->t_connect = 0;
pro->t_pretransfer = 0;
pro->t_starttransfer = 0;
+ pro->timespent = 0;
info->httpcode = 0;
info->httpversion=0;