X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fobd2.cpp;h=25416cd19fb375465c0be35cc97461b45653c39a;hb=c8a9ae83b95b3105717c58e390ba216567937772;hp=96b6c083aa7c1bdb0c469260276bd5f10b9fa54f;hpb=15250b2e51e8383a0df4b6e5a870c07e914d406d;p=apps%2Fagl-service-can-low-level.git diff --git a/src/obd2.cpp b/src/obd2.cpp index 96b6c083..25416cd1 100644 --- a/src/obd2.cpp +++ b/src/obd2.cpp @@ -55,7 +55,7 @@ bool obd2_handler_t::is_obd2_request(DiagnosticRequest* request) bool obd2_handler_t::is_obd2_signal(const char *name) { - if(fnmatch("obd2.*", name, NULL) == 0) + if(fnmatch("obd2.*", name, FNM_CASEFOLD) == 0) return true; return false; }