Signed-off-by: zhaoyuan17 <zhaoyuan17@huawei.com>
This commit is contained in:
zhaoyuan17
2021-09-16 22:59:50 +08:00
parent 3063ab5f8c
commit f58cd02817
+1 -1
View File
@@ -284,7 +284,7 @@ NativeModule* NativeModuleManager::FindNativeModuleByCache(const char* moduleNam
{
NativeModule* result = nullptr;
for (NativeModule* temp = firstNativeModule_; temp != nullptr; temp = temp->next) {
if (!strcmp(temp->name, moduleName)) {
if (!strcasecmp(temp->name, moduleName)) {
result = temp;
break;
}