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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user