Commit Diff


commit - a6c98a81a9a97c9a6ad6a9e56f5e499f18749512
commit + ca7dfc7246a71d418d456bc820b33ecb5862d082
blob - 96366ae057087597e91765bcfc911018cac45fe0
blob + f1355f41e295a49176343ddcbf51588c9df466bf
--- gotd/gotd.c
+++ gotd/gotd.c
@@ -602,7 +602,7 @@ gotd_request(int fd, short events, void *arg)
 				msgbuf_clear(&ibuf->w);
 				continue;
 			} else if (n == -1 && errno != EAGAIN) {
-				err = got_error_from_errno("imsg_flush");
+				err = got_error_from_errno("msgbuf_write");
 				disconnect_on_error(client, err);
 				return;
 			}