diff options
author | dscho <dscho> | 2003-08-06 15:12:49 +0000 |
---|---|---|
committer | dscho <dscho> | 2003-08-06 15:12:49 +0000 |
commit | 4fcb60871bb33d48e68bbd8f40a84aa4cfa2c805 (patch) | |
tree | ce851972d9b71807b4e84e004d9d1356c3d002cb /translate.c | |
parent | 79c414ab99d16b92e6436388cfb9f70f7c04ccde (diff) | |
download | libvncserver-4fcb60871bb33d48e68bbd8f40a84aa4cfa2c805.zip libvncserver-4fcb60871bb33d48e68bbd8f40a84aa4cfa2c805.tar.gz |
rfbErr introduced
Diffstat (limited to 'translate.c')
-rw-r--r-- | translate.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/translate.c b/translate.c index 5f746f0..d5f0896 100644 --- a/translate.c +++ b/translate.c @@ -259,7 +259,7 @@ rfbSetTranslateFunction(cl) #endif (cl->screen->rfbServerFormat.bitsPerPixel != 32)) { - rfbLog("%s: server bits per pixel not 8, 16 or 32 (is %d)\n", + rfbErr("%s: server bits per pixel not 8, 16 or 32 (is %d)\n", "rfbSetTranslateFunction", cl->screen->rfbServerFormat.bitsPerPixel); rfbCloseClient(cl); @@ -273,14 +273,14 @@ rfbSetTranslateFunction(cl) #endif (cl->format.bitsPerPixel != 32)) { - rfbLog("%s: client bits per pixel not 8, 16 or 32\n", + rfbErr("%s: client bits per pixel not 8, 16 or 32\n", "rfbSetTranslateFunction"); rfbCloseClient(cl); return FALSE; } if (!cl->format.trueColour && (cl->format.bitsPerPixel != 8)) { - rfbLog("rfbSetTranslateFunction: client has colour map " + rfbErr("rfbSetTranslateFunction: client has colour map " "but %d-bit - can only cope with 8-bit colour maps\n", cl->format.bitsPerPixel); rfbCloseClient(cl); @@ -369,7 +369,7 @@ rfbSetClientColourMapBGR233(cl) int r, g, b; if (cl->format.bitsPerPixel != 8 ) { - rfbLog("%s: client not 8 bits per pixel\n", + rfbErr("%s: client not 8 bits per pixel\n", "rfbSetClientColourMapBGR233"); rfbCloseClient(cl); return FALSE; |