Commit b01286d2 authored by Yang Tse's avatar Yang Tse
Browse files

fix better minor compiler warning

parent 64f72c22
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1083,8 +1083,11 @@ static void singlesocket(struct Curl_multi *multi,
            continue;
        }

        action = ((current.action & GETSOCK_READSOCK(i))?CURL_POLL_IN:0) +
          ((current.action & GETSOCK_WRITESOCK(i))?CURL_POLL_OUT:0);
        action = CURL_POLL_NONE;
        if(current.action & GETSOCK_READSOCK(i))
          action |= CURL_POLL_IN;
        if(current.action & GETSOCK_WRITESOCK(i))
          action |= CURL_POLL_OUT;
      }

      /* call the callback with this new info */