1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-05 16:55:50 +03:00

Use APR type; rename var.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523211 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Guenter Knauf
2013-09-14 11:05:05 +00:00
parent 83ead14410
commit 69637dff7d

View File

@@ -2145,10 +2145,10 @@ static int lua_websocket_write(lua_State *L)
ap_rputc(len, r);
}
else if (len < 65535) {
unsigned short c = len;
apr_uint16_t slen = len;
ap_rputc(126, r);
c = htons(c);
ap_rwrite((char*) &c, 2, r);
slen = htons(slen);
ap_rwrite((char*) &slen, 2, r);
}
else {
apr_uint64_t llen = len;