Browse Source

Made keys case sensitive

Benoit Blanchon 12 years ago
parent
commit
694840da31
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ArduinoJsonParser.h

+ 2 - 2
ArduinoJsonParser.h

@@ -50,8 +50,8 @@ public:
 			// Get key token string
 			char* key = buffer + tokens[i].start;
 
-			// Compare with desired name, ignoring case
-			if (strcasecmp(name, key) == 0)
+			// Compare with desired name
+			if (strcmp(name, key) == 0)
 			{
 				return buffer + tokens[i + 1].start;
 			}