mirror of
https://github.com/akheron/jansson.git
synced 2025-04-07 06:25:02 +00:00
Merge branch '2.3'
This commit is contained in:
commit
52924288b9
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ Next we'll extract the commit ID (a hexadecimal SHA-1 sum),
|
|||
intermediate commit info object, and the commit message from that
|
||||
object. We also do proper type checks::
|
||||
|
||||
sha = json_object_get(commit, "sha");
|
||||
sha = json_object_get(data, "sha");
|
||||
if(!json_is_string(sha))
|
||||
{
|
||||
fprintf(stderr, "error: commit %d: sha is not a string\n", i + 1);
|
||||
|
|
Loading…
Add table
Reference in a new issue