1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-10-31 13:53:00 +00:00

responsive buttons

This commit is contained in:
Andrew Karpow
2014-01-19 02:08:56 +01:00
parent 2513d26eec
commit f4a1efdd88
3 changed files with 15 additions and 8 deletions

View File

@@ -147,7 +147,7 @@ int callback_http(struct libwebsocket_context *context,
LIBMPDCLIENT_PATCH_VERSION);
/* Copy size to content-length field */
sprintf(buf, "%6lu", response_size);
sprintf(buf, "%6zu", response_size);
memcpy(p + sizeof(http_header) - 11, buf, 6);
n = libwebsocket_write(wsi, (unsigned char *)p,