curl-util: fix callback prototype

CURLMOPT_SOCKETFUNCTION callback is an easy handle, not a multi.
This commit is contained in:
Etienne Doms 2020-11-20 17:15:25 +01:00 committed by Lennart Poettering
parent 5acd143259
commit 5b639090d0
1 changed files with 1 additions and 1 deletions

View File

@ -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;