]> thyrsus.com Git - microjson.git/commitdiff
Typo fixes.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 18 Sep 2014 00:30:19 +0000 (20:30 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 18 Sep 2014 00:30:19 +0000 (20:30 -0400)
microjson.c

index 97af731891a29e839f0fb4de1594f78bc351f17b..98870446e2a646d1f8f16fb91a755cc7a96340eb 100644 (file)
@@ -751,7 +751,7 @@ static int json_internal_read_object(const char *cp,
                case t_check:
                    if (strcmp(cursor->dflt.check, valbuf) != 0) {
                        json_debug_trace((1,
-                                         "Required attribute vakue %s not present.\n",
+                                         "Required attribute value %s not present.\n",
                                          cursor->dflt.check));
                        return JSON_ERR_CHECKFAIL;
                    }
@@ -775,7 +775,7 @@ static int json_internal_read_object(const char *cp,
     }
 
   good_parse:
-    /* in case there's another object following, consune trailing WS */
+    /* in case there's another object following, consume trailing WS */
     while (isspace((unsigned char) *cp))
        ++cp;
     if (end != NULL)