diff options
author | michux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2009-03-26 13:07:17 +0000 |
---|---|---|
committer | michux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2009-03-26 13:07:17 +0000 |
commit | baa22cf17a8d1bea1c8e423d0c3ccf1c4a4df96b (patch) | |
tree | dd6df7b8a6ec0a0cbc3c693c2d0386cefdf0e0a8 /drv_vnc.c | |
parent | 89efe119450c44b99e988ff4102fdd9c47cfbf70 (diff) | |
download | lcd4linux-baa22cf17a8d1bea1c8e423d0c3ccf1c4a4df96b.tar.gz |
add sample cfg for vnc driver, indent
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1006 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_vnc.c')
-rw-r--r-- | drv_vnc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -77,7 +77,7 @@ static void clientgone(rfbClientPtr cl) { if (clientCount > 0) clientCount--; - debug("%d clients connected\n", clientCount); + debug("%d clients connecten", clientCount); } static enum rfbNewClientAction newclient(rfbClientPtr cl) @@ -85,10 +85,10 @@ static enum rfbNewClientAction newclient(rfbClientPtr cl) if (clientCount < max_clients) { clientCount++; cl->clientGoneHook = clientgone; - debug("%d clients connected\n", clientCount); + debug("%d clients connected", clientCount); return RFB_CLIENT_ACCEPT; } else { - info("client refused due max. client connections (%d)\n", clientCount); + info("client refused due max. client connections (%d)", clientCount); return RFB_CLIENT_REFUSE; } } @@ -109,7 +109,7 @@ static void doptr(int buttonMask, int x, int y, rfbClientPtr cl) static int drv_vnc_open(const char *Section) { if (cfg_number(Section, "xres", 320, 32, 2048, &xres) < 1) { - info("[DRV_VNC] no '%s.xres' entry frXom %s using default %d", Section, cfg_source(), xres); + info("[DRV_VNC] no '%s.xres' entry from %s using default %d", Section, cfg_source(), xres); } if (cfg_number(Section, "yres", 200, 32, 2048, &yres) < 1) { info("[DRV_VNC] no '%s.yres' entry from %s using default %d", Section, cfg_source(), yres); |