mirror of
https://github.com/systemd/systemd.git
synced 2024-12-28 11:21:59 +03:00
curl-util: fix callback prototype
CURLMOPT_SOCKETFUNCTION callback is an easy handle, not a multi.
This commit is contained in:
parent
5acd143259
commit
5b639090d0
@ -50,7 +50,7 @@ static int curl_glue_on_io(sd_event_source *s, int fd, uint32_t revents, void *u
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int curl_glue_socket_callback(CURLM *curl, curl_socket_t s, int action, void *userdata, void *socketp) {
|
||||
static int curl_glue_socket_callback(CURL *curl, curl_socket_t s, int action, void *userdata, void *socketp) {
|
||||
sd_event_source *io = socketp;
|
||||
CurlGlue *g = userdata;
|
||||
uint32_t events = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user