[Asterisk-code-review] loader: Refactor resource name match. (asterisk[master])

Corey Farrell asteriskteam at digium.com
Fri Dec 8 18:48:20 CST 2017


Corey Farrell has uploaded a new patch set (#2). ( https://gerrit.asterisk.org/7501 )

Change subject: loader: Refactor resource_name_match.
......................................................................

loader: Refactor resource_name_match.

Optimize resource_name_match.  This change eliminates use of
ast_strdupa, instead verifying that both basename's are the same length,
then using strncasecmp.

Change-Id: I477275c0e954c99d74be5abfc8bb6545b04e5a3d
---
M main/loader.c
1 file changed, 29 insertions(+), 18 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/01/7501/2
-- 
To view, visit https://gerrit.asterisk.org/7501
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I477275c0e954c99d74be5abfc8bb6545b04e5a3d
Gerrit-Change-Number: 7501
Gerrit-PatchSet: 2
Gerrit-Owner: Corey Farrell <git at cfware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171208/e5a71883/attachment.html>


More information about the asterisk-code-review mailing list