mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 06:26:41 +00:00
Ignore appended resource when comparing JIDs.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@120675 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2377,7 +2377,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;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user