mirror of
https://github.com/apache/httpd.git
synced 2025-08-05 16:55:50 +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 {
|
||||
apr_uint64_t llen = len;
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user