|
|
@ -752,8 +752,6 @@ void rfbScreenCleanup(rfbScreenInfoPtr rfbScreen)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static void ignoreSignal(int dummy) {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void rfbInitServer(rfbScreenInfoPtr rfbScreen)
|
|
|
|
void rfbInitServer(rfbScreenInfoPtr rfbScreen)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#ifdef WIN32
|
|
|
|
#ifdef WIN32
|
|
|
@ -763,7 +761,7 @@ void rfbInitServer(rfbScreenInfoPtr rfbScreen)
|
|
|
|
rfbInitSockets(rfbScreen);
|
|
|
|
rfbInitSockets(rfbScreen);
|
|
|
|
httpInitSockets(rfbScreen);
|
|
|
|
httpInitSockets(rfbScreen);
|
|
|
|
if(rfbScreen->ignoreSIGPIPE)
|
|
|
|
if(rfbScreen->ignoreSIGPIPE)
|
|
|
|
signal(SIGPIPE,ignoreSignal);
|
|
|
|
signal(SIGPIPE,SIG_IGN);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef LIBVNCSERVER_HAVE_GETTIMEOFDAY
|
|
|
|
#ifndef LIBVNCSERVER_HAVE_GETTIMEOFDAY
|
|
|
|