httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1523207 - /httpd/httpd/trunk/modules/lua/lua_request.c
Date Sat, 14 Sep 2013 10:55:11 GMT
Author: fuankg
Date: Sat Sep 14 10:55:10 2013
New Revision: 1523207

URL: http://svn.apache.org/r1523207
Log:
Fixed ap_ntoh64 argument.

Modified:
    httpd/httpd/trunk/modules/lua/lua_request.c

Modified: httpd/httpd/trunk/modules/lua/lua_request.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/lua_request.c?rev=1523207&r1=1523206&r2=1523207&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/lua_request.c (original)
+++ httpd/httpd/trunk/modules/lua/lua_request.c Sat Sep 14 10:55:10 2013
@@ -2153,7 +2153,7 @@ static int lua_websocket_write(lua_State
         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);
         }
     }



Mime
View raw message