]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
replaced strncasecmp with strcmp to get rid of compile errors
authord18c7db <d18c7db@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Thu, 22 Oct 2009 20:21:12 +0000 (20:21 +0000)
committerd18c7db <d18c7db@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Thu, 22 Oct 2009 20:21:12 +0000 (20:21 +0000)
winsrc/command.cpp

index b22586401c9ec6082f5d0a6a017be1066654d4dc..e94c234cce4e572d10ecaf78b3f2455b62a62eee 100644 (file)
@@ -2841,13 +2841,13 @@ static void CmdSetMux(char *str)
 {\r
        UsbCommand c;\r
        c.cmd = CMD_SET_ADC_MUX;\r
-       if(strncasecmp(str, "lopkd", 5) == 0) {\r
+       if(strcmp(str, "lopkd") == 0) {\r
                c.ext1 = 0;\r
-       } else if(strncasecmp(str, "loraw", 5) == 0) {\r
+       } else if(strcmp(str, "loraw") == 0) {\r
                c.ext1 = 1;\r
-       } else if(strncasecmp(str, "hipkd", 5) == 0) {\r
+       } else if(strcmp(str, "hipkd") == 0) {\r
                c.ext1 = 2;\r
-       } else if(strncasecmp(str, "hiraw", 5) == 0) {\r
+       } else if(strcmp(str, "hiraw") == 0) {\r
                c.ext1 = 3;\r
        }\r
        SendCommand(&c, FALSE);\r
Impressum, Datenschutz