Skip to content

Commit

Permalink
libcurl: fix example variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Jan 11, 2016
1 parent 3f05f1c commit 8213bce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libcurl.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ codes*) :
timeout = 1000;

/* convert to struct usable by select */
timeout.tv_sec = curl_timeo / 1000;
timeout.tv_usec = (curl_timeo % 1000) * 1000;
timeout.tv_sec = timeout / 1000;
timeout.tv_usec = (timeout % 1000) * 1000;

FD_ZERO(&fdread);
FD_ZERO(&fdwrite);
Expand Down

0 comments on commit 8213bce

Please sign in to comment.