shithub: plan9front

Download patch

ref: f3a05b16ad75acf9fce7ed2f03e141a47dc74d09
parent: 2d13ac5d39f75819be22eb436abd9f31e55b4b2f
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Feb 20 18:25:25 EST 2021

upas/send: add \n to error in refuse() (thanks josuah)

--- a/sys/src/cmd/upas/send/filter.c
+++ b/sys/src/cmd/upas/send/filter.c
@@ -26,7 +26,7 @@
 int
 refuse(dest*, message *, char *cp, int, int)
 {
-	fprint(2, "%s", cp);
+	fprint(2, "%s\n", cp);
 	exits("error");
 	return 0;
 }