mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-01 11:07:46 +08:00
Fix C++ build error
This commit is contained in:
parent
7ad6a08002
commit
37e9a2ee95
@ -2694,7 +2694,7 @@ static void connect_conn(struct mg_connection *c) {
|
|||||||
if (rc == EAGAIN || rc == EWOULDBLOCK) rc = 0;
|
if (rc == EAGAIN || rc == EWOULDBLOCK) rc = 0;
|
||||||
c->is_connecting = 0;
|
c->is_connecting = 0;
|
||||||
if (rc) {
|
if (rc) {
|
||||||
mg_call(c, MG_EV_ERROR, "connect error");
|
mg_call(c, MG_EV_ERROR, (void *) "connect error");
|
||||||
c->is_closing = 1;
|
c->is_closing = 1;
|
||||||
} else {
|
} else {
|
||||||
if (c->is_tls_hs && mg_tls_handshake(c)) {
|
if (c->is_tls_hs && mg_tls_handshake(c)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user