From f58cd028173a9568750c00a68bc93527e59065c8 Mon Sep 17 00:00:00 2001 From: zhaoyuan17 Date: Thu, 16 Sep 2021 22:59:50 +0800 Subject: [PATCH] fix bug Signed-off-by: zhaoyuan17 --- module_manager/native_module_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module_manager/native_module_manager.cpp b/module_manager/native_module_manager.cpp index 22d4080..819941d 100644 --- a/module_manager/native_module_manager.cpp +++ b/module_manager/native_module_manager.cpp @@ -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; }