Skip to content

Commit

Permalink
only hw
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Nov 11, 2024
1 parent 198bd8c commit 0a8105f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions example.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ int main(int argc, char *argv[]) {
CURLcode ret;
CURL *hnd;

hnd = curl_easy_init();
printf("Hello, World!\n");

// hnd = curl_easy_init();
// curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
// curl_easy_setopt(hnd, CURLOPT_URL, "http://example.com");
// curl_easy_setopt(hnd, CURLOPT_NOPROGRESS, 1L);
Expand Down Expand Up @@ -41,9 +43,9 @@ int main(int argc, char *argv[]) {
// fprintf(stderr, "curl_easy_perform() failed: %s\n", curl_easy_strerror(ret));
// }

curl_easy_cleanup(hnd);
hnd = NULL;
// curl_easy_cleanup(hnd);
// hnd = NULL;

return (int)ret;
// return (int)ret;
}
/**** End of sample code ****/

0 comments on commit 0a8105f

Please sign in to comment.