From 5afe6daac9248d4224d8829099d14a6d6457abda Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 3 Jan 2014 12:06:19 -0800 Subject: [PATCH] Fix logic error in keymap find proc. --- src/protocols/rdp/rdp_keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocols/rdp/rdp_keymap.c b/src/protocols/rdp/rdp_keymap.c index 5dc45f47..c01216eb 100644 --- a/src/protocols/rdp/rdp_keymap.c +++ b/src/protocols/rdp/rdp_keymap.c @@ -50,7 +50,7 @@ const guac_rdp_keymap* guac_rdp_keymap_find(const char* name) { /* For each keymap */ const guac_rdp_keymap** current = GUAC_KEYMAPS; - while (current != NULL) { + while (*current != NULL) { /* If name matches, done */ if (strcmp((*current)->name, name) == 0)