summary refs log tree commit diff
path: root/bounce.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bounce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bounce.c b/bounce.c
index c771bbe..1907584 100644
--- a/bounce.c
+++ b/bounce.c
@@ -149,7 +149,7 @@ int main(int argc, char *argv[]) {
 			short revents = event.fds[i].revents;
 			struct Client *client = event.clients[i];
 			if (revents & POLLIN) clientRecv(client);
-			if (revents & POLLOUT) clientRead(client);
+			if (revents & POLLOUT) clientConsume(client);
 			if (clientError(client) || revents & (POLLHUP | POLLERR)) {
 				clientFree(client);
 				close(event.fds[i].fd);