summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-26 01:41:03 -0400
committerJune McEnroe <june@causal.agency>2019-10-26 01:41:03 -0400
commit2cbee2917676bab76491ccd91c846d1f02043e34 (patch)
tree2a701a1eb5ac74dc9d3d96a4c2f1ddd50f38d67d
parentDisconnect client on unknown command (diff)
downloadpounce-2cbee2917676bab76491ccd91c846d1f02043e34.tar.gz
pounce-2cbee2917676bab76491ccd91c846d1f02043e34.zip
Oops
Diffstat (limited to '')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 703a698..f7fff33 100644
--- a/client.c
+++ b/client.c
@@ -202,7 +202,7 @@ static void clientParse(struct Client *client, char *line) {
 	for (size_t i = 0; i < ARRAY_LEN(Handlers); ++i) {
 		if (strcmp(msg.cmd, Handlers[i].cmd)) continue;
 		Handlers[i].fn(client, &msg);
-		break;
+		return;
 	}
 	client->error = true;
 }
d>June McEnroe 2018-02-04Reuse CGColorSpace and CGDataProvider in gfcocoaJune McEnroe 2018-02-04Mark mac target phonyJune McEnroe 2018-02-04Set up Makefile for gfxx-cocoa or gfxx-fbJune McEnroe 2018-02-04Avoid doing excessive work in gfxxJune McEnroe 2018-02-04Handle window resizing in gfcocoaJune McEnroe 2018-02-04Set cinoptionsJune McEnroe 2018-02-04Tweak colorscheme moreJune McEnroe 2018-02-04Color MatchParen DarkYellowJune McEnroe 2018-02-04Add palette sampling to gfxxJune McEnroe 2018-02-04Add 4-bit RGB to gfxxJune McEnroe 2018-02-04Add Quit menu item to gfcocoaJune McEnroe 2018-02-04Switch back to sane Objective-C styleJune McEnroe 2018-02-04Quit gfcocoa when window closesJune McEnroe 2018-02-03Apparently this is how people write Objective-CJune McEnroe