mirror of
https://github.com/curl/curl.git
synced 2026-08-26 21:13:34 +03:00
examples: use present tense in comments
remove "will" and some other word fixes Closes #13003
This commit is contained in:
parent
6e494a2390
commit
f540e43b9d
81 changed files with 189 additions and 198 deletions
|
|
@ -138,8 +138,8 @@ static void mcode_or_die(const char *where, CURLMcode code)
|
|||
|
||||
static void timer_cb(GlobalInfo* g, int revents);
|
||||
|
||||
/* Update the timer after curl_multi library does it's thing. Curl will
|
||||
* inform us through this callback what it wants the new timeout to be,
|
||||
/* Update the timer after curl_multi library does its thing. Curl informs the
|
||||
* application through this callback what it wants the new timeout to be,
|
||||
* after it does some work. */
|
||||
static int multi_timer_cb(CURLM *multi, long timeout_ms, GlobalInfo *g)
|
||||
{
|
||||
|
|
@ -228,9 +228,9 @@ static void timer_cb(GlobalInfo* g, int revents)
|
|||
if(err == -1) {
|
||||
/* Note that we may call the timer callback even if the timerfd is not
|
||||
* readable. It's possible that there are multiple events stored in the
|
||||
* epoll buffer (i.e. the timer may have fired multiple times). The
|
||||
* event count is cleared after the first call so future events in the
|
||||
* epoll buffer will fail to read from the timer. */
|
||||
* epoll buffer (i.e. the timer may have fired multiple times). The event
|
||||
* count is cleared after the first call so future events in the epoll
|
||||
* buffer fails to read from the timer. */
|
||||
if(errno == EAGAIN) {
|
||||
fprintf(MSG_OUT, "EAGAIN on tfd %d\n", g->tfd);
|
||||
return;
|
||||
|
|
@ -386,8 +386,8 @@ static void new_conn(char *url, GlobalInfo *g)
|
|||
rc = curl_multi_add_handle(g->multi, conn->easy);
|
||||
mcode_or_die("new_conn: curl_multi_add_handle", rc);
|
||||
|
||||
/* note that the add_handle() will set a time-out to trigger soon so that
|
||||
the necessary socket_action() call will be called by this app */
|
||||
/* note that the add_handle() sets a timeout to trigger soon so that the
|
||||
* necessary socket_action() call gets called by this app */
|
||||
}
|
||||
|
||||
/* This gets called whenever data is received from the fifo */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue