mirror of
https://github.com/3cky/mbusd.git
synced 2024-09-29 04:07:41 +02:00
Fix crash due to missing logw() argument (fixes #84)
This commit is contained in:
parent
7c268600b6
commit
06ccb29384
@ -913,7 +913,7 @@ conn_fix_request_header_len(conn_t *conn, unsigned char len)
|
|||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
logw(5, "conn[%s]: request data len changed from %d to %d",
|
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
|
#endif
|
||||||
MB_FRAME(conn->buf, MB_LENGTH_L) = len;
|
MB_FRAME(conn->buf, MB_LENGTH_L) = len;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user