@@ -94,10 +94,10 @@ int multi_socket_cb(__attribute__((unused)) CURL *easy, curl_socket_t sockfd, in
9494 int epoll_op ;
9595 if (!socketp ) {
9696 epoll_op = EPOLL_CTL_ADD ;
97- EREPORT_CURL_MULTI_ASSIGN ( wstate -> curl_mhandle , sockfd , & socketp_marker );
97+ EREPORT_MULTI ( curl_multi_assign ( wstate -> curl_mhandle , sockfd , & socketp_marker ) );
9898 } else if (what == CURL_POLL_REMOVE ) {
9999 epoll_op = EPOLL_CTL_DEL ;
100- EREPORT_CURL_MULTI_ASSIGN ( wstate -> curl_mhandle , sockfd , NULL );
100+ EREPORT_MULTI ( curl_multi_assign ( wstate -> curl_mhandle , sockfd , NULL ) );
101101 } else {
102102 epoll_op = EPOLL_CTL_MOD ;
103103 }
@@ -200,7 +200,7 @@ int multi_socket_cb(__attribute__((unused)) CURL *easy, curl_socket_t sockfd, in
200200 sock_info = palloc (sizeof (SocketInfo ));
201201 sock_info -> sockfd = sockfd ;
202202 sock_info -> action = CURL_POLL_NONE ;
203- EREPORT_CURL_MULTI_ASSIGN ( wstate -> curl_mhandle , sockfd , sock_info );
203+ EREPORT_MULTI ( curl_multi_assign ( wstate -> curl_mhandle , sockfd , sock_info ) );
204204 }
205205
206206 UPDATE_FILTER (CURL_POLL_IN , EVFILT_READ );
@@ -209,7 +209,7 @@ int multi_socket_cb(__attribute__((unused)) CURL *easy, curl_socket_t sockfd, in
209209 sock_info -> action = what ;
210210
211211 if (what == CURL_POLL_REMOVE ) {
212- EREPORT_CURL_MULTI_ASSIGN ( wstate -> curl_mhandle , sockfd , NULL );
212+ EREPORT_MULTI ( curl_multi_assign ( wstate -> curl_mhandle , sockfd , NULL ) );
213213 pfree (sock_info );
214214 }
215215
0 commit comments