mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Fixed ap_ntoh64 argument.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523207 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -2153,7 +2153,7 @@ static int lua_websocket_write(lua_State *L)
|
|||||||
else {
|
else {
|
||||||
apr_uint64_t llen = len;
|
apr_uint64_t llen = len;
|
||||||
ap_rputc(127, r);
|
ap_rputc(127, r);
|
||||||
llen = ap_ntoh64(&len); /* ntoh doubles as hton */
|
llen = ap_ntoh64(&llen); /* ntoh doubles as hton */
|
||||||
ap_rwrite((char*) &llen, 8, r);
|
ap_rwrite((char*) &llen, 8, r);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user