Commit Diff


commit - c808f450905feb2890b615ba1aeedb565e3fdd57
commit + b5225f29d85b32692bdfed88b3e93babf8269494
blob - 823a2d9d22e1f4f65df19bbbb7539f88ae4ce5a2
blob + eb19aa1370c1413dfea8caa409a7c5a2a46cd61c
--- gotd/gotd.c
+++ gotd/gotd.c
@@ -649,8 +649,7 @@ gotd_request(int fd, short events, void *arg)
 	}
 
 	if (err) {
-		if (err->code != GOT_ERR_EOF)
-			disconnect_on_error(client, err);
+		disconnect_on_error(client, err);
 	} else {
 		gotd_imsg_event_add(&client->iev);
 	}