]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fixed ap_ntoh64 argument.
authorGuenter Knauf <fuankg@apache.org>
Sat, 14 Sep 2013 10:55:10 +0000 (10:55 +0000)
committerGuenter Knauf <fuankg@apache.org>
Sat, 14 Sep 2013 10:55:10 +0000 (10:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523207 13f79535-47bb-0310-9956-ffa450edef68

modules/lua/lua_request.c

index 0b6a306a5a0093ce0cd5aeddff3f4e2d91973502..c8fc583409b642ba9f0fdf782f0af0eacc84eb73 100644 (file)
@@ -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);
         }
     }