mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +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);
|
ap_rputc(len, r);
|
||||||
}
|
}
|
||||||
else if (len < 65535) {
|
else if (len < 65535) {
|
||||||
unsigned short c = len;
|
apr_uint16_t slen = len;
|
||||||
ap_rputc(126, r);
|
ap_rputc(126, r);
|
||||||
c = htons(c);
|
slen = htons(slen);
|
||||||
ap_rwrite((char*) &c, 2, r);
|
ap_rwrite((char*) &slen, 2, r);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
apr_uint64_t llen = len;
|
apr_uint64_t llen = len;
|
||||||
|
Reference in New Issue
Block a user