This commit is contained in:
Viktor Szakats 2025-08-02 11:34:12 +02:00
parent 270ba63a9e
commit cce889089e
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -98,7 +98,7 @@ static int onetest(CURL *curl, const char *url, const struct testparams *p,
test_setopt(curl, CURLOPT_VERBOSE, 1L);
test_setopt(curl, CURLOPT_RESUME_FROM, (p->flags & F_RESUME) ? 3L : 0L);
test_setopt(curl, CURLOPT_RANGE, !(p->flags & F_RESUME) ?
"3-1000000": (char *) NULL);
"3-1000000": (char *)NULL);
test_setopt(curl, CURLOPT_FAILONERROR, (p->flags & F_FAIL) ? 1L : 0L);
hasbody = 0;
res = curl_easy_perform(curl);