Commit Diff


commit - bcb309261e439efc6ff6b567d9df9f6b837364bf
commit + c025ee6f31e47e1c1d5e835c1f8cf2db3d4ac636
blob - 56aa6c3d8a0cc75fe5a0804df81b9f06486921a1
blob + d767e207751a606a2f1d4daf3666723e6fe5db5b
--- gotd/gotd.c
+++ gotd/gotd.c
@@ -588,7 +588,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;
 			}