diff options
-rw-r--r-- | src/irmd/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c index 8e8d2db4..9aceb27a 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -187,7 +187,7 @@ static struct ipcp_entry * get_ipcp_entry_by_name(const char * name) list_for_each(p, &irmd->ipcps) { struct ipcp_entry * e = list_entry(p, struct ipcp_entry, next); - if (strcmp(name, e->name)) + if (strcmp(name, e->name) == 0) return e; } |