Commit Diff


commit - 8efb3dc0bc74c64b086dbee78912ab594bae37bd
commit + f5f71a04830c68cddf72cca7f77c8dec97451abb
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);
 	}