mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-12-01 08:07:08 +01:00
Update WIP discord and some vendors.
CPR has features disabled and PCRE is fully disabled until updated to new code.
This commit is contained in:
1 parent
e0761bf3b9
commit
9298065cef
1562 files changed
+55070
-76299
No files matched your search
Vendored
+2
-2
@@ -480,7 +480,7 @@ void ssl_client::read_loop()
|
||||
if (plaintext) {
|
||||
read_blocked_on_write = false;
|
||||
read_blocked = false;
|
||||
r = ::recv(sfd, server_to_client_buffer, DPP_BUFSIZE, 0);
|
||||
r = (int) ::recv(sfd, server_to_client_buffer, DPP_BUFSIZE, 0);
|
||||
if (r <= 0) {
|
||||
/* error or EOF */
|
||||
return;
|
||||
@@ -551,7 +551,7 @@ void ssl_client::read_loop()
|
||||
/* Try to write */
|
||||
|
||||
if (plaintext) {
|
||||
r = ::send(sfd, client_to_server_buffer + client_to_server_offset, (int)client_to_server_length, 0);
|
||||
r = (int) ::send(sfd, client_to_server_buffer + client_to_server_offset, (int)client_to_server_length, 0);
|
||||
|
||||
if (r < 0) {
|
||||
/* Write error */
|
||||
|
||||
Reference in new issue
Block a user