shithub: orca

Download patch

ref: a6c91a809a43fe78cf7f556aa035734a80e7fba4
parent: 1afac4d96677c1a88600c9e0fe01959f50e68083
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Feb 21 20:23:26 EST 2020

plan9: remove a trace

--- a/plan9.c
+++ b/plan9.c
@@ -346,10 +346,8 @@
 			command(tmp);
 		} else if (e->any.oevent_type = Oevent_type_udp_string) {
 			Oevent_udp_string *u = &e->udp_string;
-			if (udp >= 0 && (i = write(udp, u->chars, u->count)) != u->count)
-				fprint(2, "udp write: %r\n");
-			else
-				fprint(2, "udp: %d\n", i);
+			if (udp >= 0)
+				write(udp, u->chars, u->count); /* FIXME show errors */
 		}
 	}