Commit 41178b41 by Carlos Martín Nieto

examples: fix an oopsie

parent fb49bdf9
...@@ -35,6 +35,7 @@ int run_command(git_cb fn, int argc, char **argv) ...@@ -35,6 +35,7 @@ int run_command(git_cb fn, int argc, char **argv)
fprintf(stderr, "Error without message"); fprintf(stderr, "Error without message");
else else
fprintf(stderr, "Bad news:\n %s\n", giterr_last()->message); fprintf(stderr, "Bad news:\n %s\n", giterr_last()->message);
}
if(repo) if(repo)
git_repository_free(repo); git_repository_free(repo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment