From 7c12fd500b40e4ae44fe85ab7f689494fd187ebf Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Sat, 14 Sep 2013 10:55:10 +0000 Subject: [PATCH] Fixed ap_ntoh64 argument. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523207 13f79535-47bb-0310-9956-ffa450edef68 --- modules/lua/lua_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lua/lua_request.c b/modules/lua/lua_request.c index 0b6a306a5a..c8fc583409 100644 --- a/modules/lua/lua_request.c +++ b/modules/lua/lua_request.c @@ -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); } }