From 11999bc55b025283bedea072cc2960cff983de3d Mon Sep 17 00:00:00 2001 From: Bastien Dejean Date: Tue, 11 Sep 2012 16:38:29 +0200 Subject: [PATCH] Missing comparison --- messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messages.c b/messages.c index 8bbc0e9..dd2a9bd 100644 --- a/messages.c +++ b/messages.c @@ -42,7 +42,7 @@ void process_message(char *msg, char *rsp) split_dir = parse_direction(dir); draw_triple_border(desk->focus, active_border_color_pxl); } - } else if (strcmp(cmd, "push") == 0 || strcmp(cmd, "pull")) { + } else if (strcmp(cmd, "push") == 0 || strcmp(cmd, "pull") == 0) { char *dir = strtok(NULL, TOKEN_SEP); if (dir != NULL) { fence_move_t m = parse_fence_move(cmd);