mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
Fixed erroneous byte count reported by libwebsocket_write()
This commit is contained in:
parent
6c58228577
commit
be76642c9e
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ send_raw:
|
|||
if (n < 0)
|
||||
return n;
|
||||
|
||||
return orig_len - ((len - pre + post) -n );
|
||||
return orig_len - ((len + pre + post) -n );
|
||||
}
|
||||
|
||||
LWS_VISIBLE int libwebsockets_serve_http_file_fragment(
|
||||
|
|
Loading…
Add table
Reference in a new issue