mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merged revisions 120675 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r120675 | phsultan | 2008-06-05 18:56:15 +0200 (Thu, 05 Jun 2008) | 2 lines Ignore appended resource when comparing JIDs. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@120676 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user