summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--httpd.c6
2 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2886f8a..0cf8696 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,8 @@ LIBS=$(LDFLAGS) $(VNCSERVERLIB) $(PTHREADLIB) $(EXTRALIBS)
OSX_LIBS = -framework ApplicationServices -framework Carbon -framework IOKit
# for x11vnc
-XLIBS = -L/usr/X11R6/lib -lX11 -lXext -lXtst
+#XLIBS = -L/usr/X11R6/lib -lXtst -lXext -lX11
+XLIBS = -L/usr/lib32 -lXtst -lXext -lX11
SOURCES=main.c rfbserver.c sraRegion.c auth.c sockets.c \
stats.c corre.c hextile.c rre.c translate.c cutpaste.c \
diff --git a/httpd.c b/httpd.c
index b745df0..2b06da2 100644
--- a/httpd.c
+++ b/httpd.c
@@ -434,9 +434,9 @@ httpProcessInput(rfbScreenInfoPtr rfbScreen)
} else
#endif
WriteExact(&cl, "?", 1);
- } else if (compareAndSkip(&ptr, "$PARAMS")) {
- if (params[0] != '\0')
- WriteExact(&cl, params, strlen(params));
+ } else if (compareAndSkip(&ptr, "$PARAMS")) {
+ if (params[0] != '\0')
+ WriteExact(&cl, params, strlen(params));
} else {
if (!compareAndSkip(&ptr, "$$"))
ptr++;