mirror of
https://github.com/curl/curl.git
synced 2025-04-12 16:20:35 +08:00
parent
4646976f3b
commit
d9a86b6729
@ -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…
x
Reference in New Issue
Block a user