From cfd817895a758dc9fa749d20a666ca5162c5659a Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Thu, 25 Feb 2016 07:29:28 +0200 Subject: [PATCH] doc: Fix a typo --- doc/apiref.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/apiref.rst b/doc/apiref.rst index f024408..11bdc69 100644 --- a/doc/apiref.rst +++ b/doc/apiref.rst @@ -1474,7 +1474,7 @@ Examples:: /* returns -1 for failed validation */ /* root is an empty JSON object */ - int myint = 0, myint2 = 0; + int myint = 0, myint2 = 0, myint3 = 0; json_unpack(root, "{s?i, s?[ii]}", "foo", &myint1, "bar", &myint2, &myint3);