Skip to content

Commit

Permalink
Update strstr
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyesiqiu committed Dec 28, 2024
1 parent 4171599 commit 29b81ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion shell/src/main/cpp/dpt_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ DPT_ENCRYPT int find_in_maps(int count,...) {

for(int i = 0;i < count;i++) {
const char *arg = va_arg(ap,const char *);
if(strstr(item_name,arg) != 0) {
if(dpt_strstr(item_name,arg) != 0) {
DLOGD("found %s in %s",arg,item_name);
found++;
}
Expand Down
1 change: 1 addition & 0 deletions shell/src/main/cpp/dpt_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include "dpt_jni.h"
#include "common/dpt_log.h"
#include "common/dpt_macro.h"
#include "common/dpt_string.h"

#include "reflect/android_app_ActivityThread.h"
#include "reflect/android_content_pm_ApplicationInfo.h"
Expand Down

0 comments on commit 29b81ed

Please sign in to comment.