diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-02-20 09:50:32 +0000 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-02-21 10:59:19 +0000 |
commit | c8a9ae83b95b3105717c58e390ba216567937772 (patch) | |
tree | 3bd5d543166474858b11f3039f140de20242bd3a /src/obd2.cpp | |
parent | 15250b2e51e8383a0df4b6e5a870c07e914d406d (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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/obd2.cpp b/src/obd2.cpp index 96b6c08..25416cd 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; } |