From: Guenter Knauf Date: Sat, 14 Sep 2013 10:55:10 +0000 (+0000) Subject: Fixed ap_ntoh64 argument. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f63f136abbc868548c229e374bff023f39ae509c;p=thirdparty%2Fapache%2Fhttpd.git Fixed ap_ntoh64 argument. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523207 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/lua/lua_request.c b/modules/lua/lua_request.c index 0b6a306a5a0..c8fc583409b 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); } }