about summary refs log tree commit diff
path: root/bounce.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-03-29 19:15:30 -0400
committerJune McEnroe <june@causal.agency>2022-03-29 19:15:30 -0400
commit78daf36f34b2b59618ee971cbb797bbd2ec41fd5 (patch)
tree7099abca0cae8a2f6686e09d48c3812578c57021 /bounce.c
parentSend 900 as part of stateSync (diff)
downloadpounce-78daf36f34b2b59618ee971cbb797bbd2ec41fd5.tar.gz
pounce-78daf36f34b2b59618ee971cbb797bbd2ec41fd5.zip
Rename client->error to client->remove
Diffstat (limited to 'bounce.c')
-rw-r--r--bounce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bounce.c b/bounce.c
index 69783f8..cd4898a 100644
--- a/bounce.c
+++ b/bounce.c
@@ -424,7 +424,7 @@ int main(int argc, char *argv[]) {
 					}
 				}
 				if (revents & POLLIN) clientRecv(client);
-				if (client->error || revents & (POLLHUP | POLLERR)) {
+				if (client->remove || revents & (POLLHUP | POLLERR)) {
 					clientFree(client);
 					eventRemove(i);
 				}