diff options
author | kraxel <kraxel> | 2006-11-10 14:27:23 +0000 |
---|---|---|
committer | kraxel <kraxel> | 2006-11-10 14:27:23 +0000 |
commit | 85d2f0b6b27d11038695bf083c382869b0ca19f9 (patch) | |
tree | 662541a6e84c50dd133088dc2d1bd92621378612 /vnc.c | |
parent | 73606a56f3811ac8b04971f2cc57047a6dd879d7 (diff) | |
download | xenwatch-85d2f0b6b27d11038695bf083c382869b0ca19f9.tar.gz |
::tcp -> :dpy
Diffstat (limited to 'vnc.c')
-rw-r--r-- | vnc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -500,7 +500,7 @@ GtkWidget *vnc_open(char *hostname, int tcpport, unsigned long flags, goto err; /* rfb client */ - snprintf(display, sizeof(display), "%s::%d", hostname, tcpport); + snprintf(display, sizeof(display), "%s:%d", hostname, tcpport - 5900); fprintf(stderr, "%s: connecting to %s\n", __FUNCTION__, display); if (8 == x11_red_bits) vnc->client = rfbGetClient(8,3,4); |