Fix crash due to missing logw() argument (fixes #84)

This commit is contained in:
Victor Antonovich 2022-04-06 16:17:34 +03:00
parent 7c268600b6
commit 06ccb29384

View File

@ -913,7 +913,7 @@ conn_fix_request_header_len(conn_t *conn, unsigned char len)
{
#ifdef DEBUG
logw(5, "conn[%s]: request data len changed from %d to %d",
MB_FRAME(conn->buf, MB_LENGTH_L), len);
conn->remote_addr, MB_FRAME(conn->buf, MB_LENGTH_L), len);
#endif
MB_FRAME(conn->buf, MB_LENGTH_L) = len;
}