summaryrefslogtreecommitdiff
path: root/src/irmd
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2017-02-24 11:14:26 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2017-02-24 11:14:26 +0100
commit8907220599bec8067c1701c3d8bd19f9bcb19275 (patch)
tree1d25a60759a17a150ed331bb83ff9fcd48a27742 /src/irmd
parent41704c2379eda1124c5fc94d5589be6951e5b7ee (diff)
parent15b492ffb0de010b94bfb4e80c721e04ef6f63c2 (diff)
downloadouroboros-8907220599bec8067c1701c3d8bd19f9bcb19275.tar.gz
ouroboros-8907220599bec8067c1701c3d8bd19f9bcb19275.zip
Merge branch 'testing' into be
Diffstat (limited to 'src/irmd')
-rw-r--r--src/irmd/main.c2
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;
}