Ver código fonte

Correctly set socket write notification

That extra add_fd() only set the read notification, overwriting any
write notification set up in the lines just above.
pull/1670/head
Pierre Ossman 1 mês atrás
pai
commit
c987d61e83
1 arquivos alterados com 0 adições e 2 exclusões
  1. 0
    2
      vncviewer/CConn.cxx

+ 0
- 2
vncviewer/CConn.cxx Ver arquivo

@@ -280,9 +280,7 @@ void CConn::socketEvent(FL_SOCKET fd, void *data)
when |= FL_WRITE;

Fl::add_fd(fd, when, socketEvent, data);

recursing = false;
Fl::add_fd(fd, FL_READ | FL_EXCEPT, socketEvent, data);
}

////////////////////// CConnection callback methods //////////////////////

Carregando…
Cancelar
Salvar