diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/pbx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/pbx.c b/main/pbx.c index 3c7b127e6..2f0c06405 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -10046,8 +10046,8 @@ static int ast_add_extension2_lockopt(struct ast_context *con, ast_unlock_context(con); } if (res < 0) { - errno = EEXIST; /* XXX do we care ? */ - return 0; /* XXX should we return -1 maybe ? */ + errno = EEXIST; + return -1; } } else { /* |