commit 8a85cd95190c6a4fc58b40f74c01450f8280c3b1 parent 3b0003455b4e58c3a8aaad5b56be73cdb907f6c9 Author: Santtu Lakkala <inz@inz.fi> Date: Sat, 15 May 2021 23:51:31 +0300 Fix broken gph introduced by 0c78bacd8da3df3671010da5a81cda27102e1339 Diffstat:
M | main.c | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/main.c b/main.c @@ -1003,7 +1003,7 @@ static void update_gph(EV_P_ struct client *c, int revents) { (void)revents; - if (c->task_data.tt.rfd < 0) { + if (c->task_data.gpht.rfd < 0) { client_close(EV_A_ c); return; } @@ -1016,8 +1016,8 @@ static void update_gph(EV_P_ struct client *c, int revents) c->buffer_used += n; - close(c->task_data.tt.rfd); - c->task_data.tt.rfd = -1; + close(c->task_data.gpht.rfd); + c->task_data.gpht.rfd = -1; } }