From 2a093dc183fdcf47b0bdafa9fa9d41c298c78e3e Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Tue, 26 Nov 2024 14:09:34 -0300 Subject: [PATCH] remove is_io_err (unused) --- mongoose.h | 1 - src/net.h | 1 - 2 files changed, 2 deletions(-) diff --git a/mongoose.h b/mongoose.h index bc8fd0ce..d4a31cc2 100644 --- a/mongoose.h +++ b/mongoose.h @@ -2213,7 +2213,6 @@ struct mg_connection { unsigned is_resp : 1; // Response is still being generated unsigned is_readable : 1; // Connection is ready to read unsigned is_writable : 1; // Connection is ready to write - unsigned is_io_err : 1; // Remember IO_ERR condition for later use }; void mg_mgr_poll(struct mg_mgr *, int ms); diff --git a/src/net.h b/src/net.h index c59f6216..679dc5b2 100644 --- a/src/net.h +++ b/src/net.h @@ -76,7 +76,6 @@ struct mg_connection { unsigned is_resp : 1; // Response is still being generated unsigned is_readable : 1; // Connection is ready to read unsigned is_writable : 1; // Connection is ready to write - unsigned is_io_err : 1; // Remember IO_ERR condition for later use }; void mg_mgr_poll(struct mg_mgr *, int ms);