fixed bug caused by nxmibc refactoring
authorVictor Kirhenshtein <victor@netxms.org>
Wed, 10 May 2017 20:34:20 +0000 (23:34 +0300)
committerVictor Kirhenshtein <victor@netxms.org>
Wed, 10 May 2017 20:34:20 +0000 (23:34 +0300)
src/snmp/nxmibc/nxmibc.cpp

index a866c8d..22f0b36 100644 (file)
@@ -203,9 +203,9 @@ int main(int argc, char *argv[])
             break;
          case 'd':
 #ifdef UNICODE
-            paths.addPreallocated(_wcslwr(WideStringFromMBStringSysLocale(optarg)));
+            paths.addPreallocated(WideStringFromMBStringSysLocale(optarg));
 #else
-            paths.add(strlwr(optarg));
+            paths.add(optarg);
 #endif
             scanDir = true;
             break;