summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/irmd/registry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irmd/registry.c b/src/irmd/registry.c
index f863af6a..21399118 100644
--- a/src/irmd/registry.c
+++ b/src/irmd/registry.c
@@ -241,7 +241,7 @@ int reg_entry_add_apn(struct reg_entry * e,
if (!(a->flags & BIND_AP_AUTO)) {
log_dbg("AP %s cannot be auto-instantiated.", a->apn);
- return -EINVAL;
+ return 0;
}
n = malloc(sizeof(*n));