aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2017-07-20 22:42:29 +0300
committerGitHub <noreply@github.com>2017-07-20 22:42:29 +0300
commit4947f9a19377ff3f2859915b4dec570e67e47757 (patch)
tree593f506e9f1bdf0e913c07b3beb93eb3c7c2e4fa
parentf52c3da7170c9d1379d3bb2efd5b305bc62aa96c (diff)
parentad6c1e37ade2663d529b6ca6d02e9de64665a0cf (diff)
downloadjansson-4947f9a19377ff3f2859915b4dec570e67e47757.zip
jansson-4947f9a19377ff3f2859915b4dec570e67e47757.tar.gz
jansson-4947f9a19377ff3f2859915b4dec570e67e47757.tar.bz2
Merge pull request #356 from hellojaewon/master
Docs - Fix typo
-rw-r--r--doc/tutorial.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tutorial.rst b/doc/tutorial.rst
index a92f488..56861c2 100644
--- a/doc/tutorial.rst
+++ b/doc/tutorial.rst
@@ -10,7 +10,7 @@ In this tutorial, we create a program that fetches the latest commits
of a repository in GitHub_ over the web. `GitHub API`_ uses JSON, so
the result can be parsed using Jansson.
-To stick to the the scope of this tutorial, we will only cover the the
+To stick to the scope of this tutorial, we will only cover the
parts of the program related to handling JSON data. For the best user
experience, the full source code is available:
:download:`github_commits.c`. To compile it (on Unix-like systems with
@@ -238,7 +238,7 @@ from a JSON string using :func:`json_string_value()`::
message_text = json_string_value(message);
printf("%.8s %.*s\n",
- json_string_value(id),
+ json_string_value(sha),
newline_offset(message_text),
message_text);
}