Commit Diff


commit - 15aecb89d41f59ac375c7a2a2194ab7cddcaa020
commit + 232e682b2ba11ede150ba4d6468afc160a025d63
blob - 2dc2c91eec648890a1814d302a46d9f07f72e594
blob + 15c10f6fcb680c129ae25fad3452638e3a4dc10a
--- ctl.c
+++ ctl.c
@@ -242,7 +242,7 @@ imsg_strerror(struct imsg *imsg)
 }
 
 static const char *
-imsg_name(int type)
+event_name(int type)
 {
 	switch (type) {
 	case IMSG_CTL_PLAY:
@@ -558,7 +558,7 @@ ctlaction(struct parse_result *res)
 				if (!res->monitor[type])
 					break;
 
-				puts(imsg_name(type));
+				puts(event_name(type));
 				fflush(stdout);
 				break;
 			default: