summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2018-03-24 02:30:13 +0100
committerChristian Beier <dontmind@freeshell.org>2018-03-24 02:30:13 +0100
commit449cbe90282dcb5d0eb3b59f0409134f4ea11871 (patch)
tree4f4f011563bad70e4bf3afd1d41df8a3b4420752
parentb0c77391e6bd0a2305bbc9b37a2499af74ddd9ee (diff)
downloadlibtdevnc-449cbe90282dcb5d0eb3b59f0409134f4ea11871.tar.gz
libtdevnc-449cbe90282dcb5d0eb3b59f0409134f4ea11871.zip
rfbserver: get rid of inttypes.h again
-rw-r--r--libvncserver/rfbserver.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libvncserver/rfbserver.c b/libvncserver/rfbserver.c
index 4fc4d9d..44be1c3 100644
--- a/libvncserver/rfbserver.c
+++ b/libvncserver/rfbserver.c
@@ -88,8 +88,6 @@
#include <errno.h>
/* strftime() */
#include <time.h>
-/* PRIu32 */
-#include <inttypes.h>
#ifdef LIBVNCSERVER_WITH_WEBSOCKETS
#include "rfbssl.h"
@@ -2586,8 +2584,7 @@ rfbProcessClientNormalMessage(rfbClientPtr cl)
* prevent from a denial-of-service by allocating to much memory in
* the server. */
if (msg.cct.length > 1<<20) {
- rfbLog("rfbClientCutText: too big cut text length requested: %" PRIu32 "\n",
- msg.cct.length);
+ rfbLog("rfbClientCutText: too big cut text length requested: %u B > 1 MB\n", (unsigned int)msg.cct.length);
rfbCloseClient(cl);
return;
}