Skip to content
Snippets Groups Projects
Commit 0b489c7e authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

and now it compiles too!

parent 22d4db1c
No related branches found
No related tags found
No related merge requests found
......@@ -182,8 +182,8 @@ static void event_cb(int fd, short kind, void *userp)
CURLMcode rc;
int action =
(kind&EV_READ:CURL_CSELECT_IN)|
(kind&EV_WRITE:CURL_CSELECT_OUT);
(kind&EV_READ?CURL_CSELECT_IN:0)|
(kind&EV_WRITE?CURL_CSELECT_OUT:0);
do {
rc = curl_multi_socket_action(g->multi, fd, action, &g->still_running);
......@@ -404,7 +404,6 @@ static int init_fifo (GlobalInfo *g)
int main(int argc, char **argv)
{
GlobalInfo g;
CURLMcode rc;
(void)argc;
(void)argv;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment