1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00

test linux

This commit is contained in:
deep125 2014-09-03 00:00:05 +04:00
parent f1a87a9600
commit 0782422d47
2 changed files with 2 additions and 1 deletions

View file

@ -59,7 +59,7 @@ LWS_VISIBLE void lwsl_hexdump(void *vbuf, size_t len)
start = n;
p = line;
p += sprintf(p, "%04X: ", start);
p += sprintf(p, "%04zX: ", start);
for (m = 0; m < 16 && n < len; m++)
p += sprintf(p, "%02X ", buf[n++]);

View file

@ -33,6 +33,7 @@
#include <sys/ioctl.h>
#include <poll.h>
#include <unistd.h>
#include <stddef.h>
#endif
#ifdef CMAKE_BUILD