aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-10-26 14:30:11 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-10-26 14:30:11 +0000
commit125830ab4bfa1142ea7aa0a849336b6351d4f174 (patch)
treea29000aa149f2f6a2721fe74aa83b4a9a4eb4bd2 /tests
parent5b75b423e65f36cb48930f7c43fd872bb67f0df4 (diff)
Use proper 'stat' structure for fstat(). I.e. 'struct _stati64' and '_fstati64()'
on Win32.
Diffstat (limited to 'tests')
-rw-r--r--tests/libtest/lib525.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/libtest/lib525.c b/tests/libtest/lib525.c
index 8d837056b..5c85adf32 100644
--- a/tests/libtest/lib525.c
+++ b/tests/libtest/lib525.c
@@ -25,7 +25,7 @@ int test(char *URL)
CURL *curl;
FILE *hd_src ;
int hd ;
- struct stat file_info;
+ struct_stat file_info;
int running;
char done=FALSE;
CURLM *m;
@@ -118,7 +118,7 @@ int test(char *URL)
interval.tv_sec = 1;
interval.tv_usec = 0;
- if (curlx_tvdiff(curlx_tvnow(), ml_start) >
+ if (curlx_tvdiff(curlx_tvnow(), ml_start) >
MAIN_LOOP_HANG_TIMEOUT) {
ml_timedout = TRUE;
break;
@@ -128,7 +128,7 @@ int test(char *URL)
while (res == CURLM_CALL_MULTI_PERFORM) {
res = (int)curl_multi_perform(m, &running);
- if (curlx_tvdiff(curlx_tvnow(), mp_start) >
+ if (curlx_tvdiff(curlx_tvnow(), mp_start) >
MULTI_PERFORM_HANG_TIMEOUT) {
mp_timedout = TRUE;
break;