aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib1501.c
diff options
context:
space:
mode:
authorSergei Nikulov <sergey.nikulov@gmail.com>2012-11-09 17:29:02 +0400
committerDaniel Stenberg <daniel@haxx.se>2012-11-13 11:17:20 +0100
commit7c0cbcf2f617b4a2a50d4242ad468dae01e9ce13 (patch)
tree5d90d838e120d01aa55013b1c42436eea0b29d9f /tests/libtest/lib1501.c
parent076e1fa3486225aaec50e091784cd2f74cbcff5d (diff)
fixed Visual Studio 2010 compilation
Diffstat (limited to 'tests/libtest/lib1501.c')
-rw-r--r--tests/libtest/lib1501.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib1501.c b/tests/libtest/lib1501.c
index 8d1a40571..01a382e82 100644
--- a/tests/libtest/lib1501.c
+++ b/tests/libtest/lib1501.c
@@ -98,13 +98,13 @@ int test(char *URL)
abort_on_test_timeout();
fprintf(stderr, "ping\n");
- gettimeofday(&before, 0);
+ before = tutil_tvnow();
multi_perform(mhandle, &still_running);
abort_on_test_timeout();
- gettimeofday(&after, 0);
+ after = tutil_tvnow();
e = elapsed(&before, &after);
fprintf(stderr, "pong = %d\n", e);