openbsd-ports/x11/x11vnc/patches/patch-libvncserver_httpd_c
sturm 8f5afb12e7 Initial import of x11vnc 0.6.2
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>
2004-12-02 21:21:23 +00:00

22 lines
685 B
Plaintext

$OpenBSD: patch-libvncserver_httpd_c,v 1.1.1.1 2004/12/02 21:21:23 sturm Exp $
--- libvncserver/httpd.c.orig Thu Dec 2 21:04:09 2004
+++ libvncserver/httpd.c Thu Dec 2 21:04:52 2004
@@ -123,7 +123,7 @@ httpCheckFds(rfbScreenInfoPtr rfbScreen)
fd_set fds;
struct timeval tv;
struct sockaddr_in addr;
- size_t addrlen = sizeof(addr);
+ socklen_t addrlen = sizeof(addr);
if (!rfbScreen->httpDir)
return;
@@ -208,7 +208,7 @@ static void
httpProcessInput(rfbScreenInfoPtr rfbScreen)
{
struct sockaddr_in addr;
- size_t addrlen = sizeof(addr);
+ socklen_t addrlen = sizeof(addr);
char fullFname[512];
char params[1024];
char *ptr;