summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordscho <dscho>2001-10-12 07:36:35 +0000
committerdscho <dscho>2001-10-12 07:36:35 +0000
commite7dacc5717a115a456070ad5f35289a2053a36e5 (patch)
treef9739eddc1b178142735aee71ac9dbce453c80b2
parent67094d7c281993497decb1459ea1663765a760eb (diff)
downloadlibtdevnc-e7dacc57.tar.gz
libtdevnc-e7dacc57.zip
cleanups
-rw-r--r--README2
-rw-r--r--rfb.h3
-rw-r--r--rfbserver.c2
3 files changed, 5 insertions, 2 deletions
diff --git a/README b/README
index 36726e5..2874f21 100644
--- a/README
+++ b/README
@@ -4,7 +4,7 @@ Copyright (C) 2001 Johannes E. Schindelin
What is it?
-----------
-VNC is set of programs using the RFB (Remote Frame Buffer) protocol. They
+VNC is a set of programs using the RFB (Remote Frame Buffer) protocol. They
are designed to "export" a frame buffer via net (if you don't know VNC, I
suggest you read "Basics" below). It is already in wide use for
administration, but it is not that easy to program a server yourself.
diff --git a/rfb.h b/rfb.h
index d138620..57ab62f 100644
--- a/rfb.h
+++ b/rfb.h
@@ -35,6 +35,7 @@ typedef unsigned short CARD16;
typedef unsigned int CARD32;
typedef CARD32 Pixel;
typedef CARD32 KeySym;
+#define SIGNED signed
/* for some strange reason, "typedef signed char Bool;" yields a four byte
signed int on IRIX, but only for rfbserver.o!!! */
#define Bool signed char
@@ -57,6 +58,8 @@ typedef CARD32 KeySym;
#define _BYTE_ORDER _LITTLE_ENDIAN
#undef Bool
#define Bool char
+#undef SIGNED
+#define SIGNED
#include <sys/types.h>
/* typedef unsigned int pthread_t; */
/* SUN cc seems to have problems with inclusion of sys/types! */
diff --git a/rfbserver.c b/rfbserver.c
index bd22a70..e8c913d 100644
--- a/rfbserver.c
+++ b/rfbserver.c
@@ -1121,7 +1121,7 @@ rfbSendCopyRegion(cl, reg, dx, dy)
sraRectangleIterator* i;
sraRect rect1;
- printf("copyrect: "); sraRgnPrint(reg); putchar('\n'); fflush(stdout);
+ /* printf("copyrect: "); sraRgnPrint(reg); putchar('\n');fflush(stdout); */
i = sraRgnGetReverseIterator(reg,dx>0,dy>0);
while(sraRgnIteratorNext(i,&rect1)) {