Merge pull request #356 from hellojaewon/master

Docs - Fix typo
This commit is contained in:
Petri Lehtinen 2017-07-20 22:42:29 +03:00 committed by GitHub
commit 4947f9a193

View File

@ -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 of a repository in GitHub_ over the web. `GitHub API`_ uses JSON, so
the result can be parsed using Jansson. 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 parts of the program related to handling JSON data. For the best user
experience, the full source code is available: experience, the full source code is available:
:download:`github_commits.c`. To compile it (on Unix-like systems with :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); message_text = json_string_value(message);
printf("%.8s %.*s\n", printf("%.8s %.*s\n",
json_string_value(id), json_string_value(sha),
newline_offset(message_text), newline_offset(message_text),
message_text); message_text);
} }