mirror of
https://github.com/curl/curl.git
synced 2026-05-30 06:37:30 +03:00
parent
4646976f3b
commit
d9a86b6729
2 changed files with 10 additions and 8 deletions
|
|
@ -47,15 +47,16 @@ struct priv {
|
|||
|
||||
static int timerfunc(CURLM *multi, long timeout_ms, void *clientp)
|
||||
{
|
||||
struct priv *mydata = clientp;
|
||||
printf("our ptr: %p\n", mydata->custom);
|
||||
struct priv *mydata = clientp;
|
||||
printf("our ptr: %p\n", mydata->custom);
|
||||
|
||||
if(timeout_ms) {
|
||||
/* this is the new single timeout to wait for */
|
||||
}
|
||||
else {
|
||||
/* delete the timeout, nothing to wait for now */
|
||||
}
|
||||
if(timeout_ms) {
|
||||
/* this is the new single timeout to wait for */
|
||||
}
|
||||
else {
|
||||
/* delete the timeout, nothing to wait for now */
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -88,6 +88,7 @@ static int timerfunc(CURLM *multi, long timeout_ms, void *clientp)
|
|||
else {
|
||||
/* delete the timeout, nothing to wait for now */
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue