aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/res_jabber.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_jabber.c b/res/res_jabber.c
index 20189c78d..eda3b420a 100644
--- a/res/res_jabber.c
+++ b/res/res_jabber.c
@@ -2902,7 +2902,7 @@ struct aji_client *ast_aji_get_client(const char *name)
/* strip resource for comparison */
aux = strsep(&aux, "/");
}
- if (!strcasecmp(aux, name)) {
+ if (!strncasecmp(aux, name, strlen(aux))) {
client = iterator;
}
});