aboutsummaryrefslogtreecommitdiffstats
path: root/src/obd2.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-02-20 09:50:32 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2017-02-21 10:59:19 +0000
commitc8a9ae83b95b3105717c58e390ba216567937772 (patch)
tree3bd5d543166474858b11f3039f140de20242bd3a /src/obd2.cpp
parent15250b2e51e8383a0df4b6e5a870c07e914d406d (diff)
Fix: OBD2_PIDS array initialization
Change-Id: Ic2c297e4ff94a13872f066ca42ee42beb45451ca Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/obd2.cpp')
-rw-r--r--src/obd2.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}