8f5afb12e7
x11vnc allows one to remotely view and interact with real X displays (i.e. a display corresponding to a physical monitor, keyboard, and mouse) with any VNC viewer. In this way it plays the role for Unix/X11 that WinVNC plays for Windows. from Craig Barraclough <craigba at creative.com.au>
13 lines
454 B
Plaintext
13 lines
454 B
Plaintext
$OpenBSD: patch-libvncserver_sockets_c,v 1.1.1.1 2004/12/02 21:21:23 sturm Exp $
|
|
--- libvncserver/sockets.c.orig Thu Dec 2 21:03:26 2004
|
|
+++ libvncserver/sockets.c Thu Dec 2 21:04:02 2004
|
|
@@ -195,7 +195,7 @@ rfbCheckFds(rfbScreenInfoPtr rfbScreen,l
|
|
fd_set fds;
|
|
struct timeval tv;
|
|
struct sockaddr_in addr;
|
|
- size_t addrlen = sizeof(addr);
|
|
+ socklen_t addrlen = sizeof(addr);
|
|
char buf[6];
|
|
const int one = 1;
|
|
int sock;
|