Skip to content

Commit 12a6cf8

Browse files
Update libcurl.c
1 parent 99536fc commit 12a6cf8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/cfg/libcurl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ void validCode()
2828
CURLcode res;
2929
// cppcheck-suppress valueFlowBailoutIncompleteVar
3030
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
31-
curl_easy_setopt(handle, CURLOPT_HEADERFUNCTION, cb_WriteHeader);
31+
curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, cb_WriteHeader);
3232
struct S_WriteHeader s;
33-
curl_easy_setopt(handle, CURLOPT_WRITEHEADER, &s); // #14692
33+
curl_easy_setopt(curl, CURLOPT_WRITEHEADER, &s); // #14692
3434
res = curl_easy_perform(curl);
3535
if (res != CURLE_OK) {
3636
printf("error");

0 commit comments

Comments
 (0)