summary refs log tree commit diff
path: root/bounce.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bounce.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/bounce.c b/bounce.c
index 8dc2850..2b1413d 100644
--- a/bounce.c
+++ b/bounce.c
@@ -413,10 +413,7 @@ int main(int argc, char *argv[]) {
 			if (!revents) continue;
 
 			if (event.fds[i].fd == server) {
-				if (revents & POLLIN) serverRecv();
-				if (revents & (POLLHUP | POLLERR)) {
-					errx(EX_UNAVAILABLE, "server closed connection");
-				}
+				serverRecv();
 				continue;
 			}