Fix compiler warning.

This commit is contained in:
Roger A. Light
2021-05-17 17:16:01 +01:00
parent 4a08626f43
commit 0db306ef6b
+1
View File
@@ -654,6 +654,7 @@ static int callback_http(
static void log_wrap(int level, const char *line)
{
char *l = (char *)line;
UNUSED(level);
l[strlen(line)-1] = '\0'; /* Remove \n */
log__printf(NULL, MOSQ_LOG_WEBSOCKETS, "%s", l);
}