summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-05-11 21:49:33 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-05-11 21:49:33 +0200
commit41178b419a5fcf3a65c2b313ecc688c607f411c9 (patch)
tree737d4ed3242a4da313c487d2c132a5e063d67e92 /examples
parentfb49bdf9c7837892154bf7efdb3db6c3ec63e396 (diff)
downloadlibgit2-41178b419a5fcf3a65c2b313ecc688c607f411c9.tar.gz
examples: fix an oopsie
Diffstat (limited to 'examples')
-rw-r--r--examples/network/git2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/network/git2.c b/examples/network/git2.c
index c694762a2..d6ea419c4 100644
--- a/examples/network/git2.c
+++ b/examples/network/git2.c
@@ -35,6 +35,7 @@ int run_command(git_cb fn, int argc, char **argv)
fprintf(stderr, "Error without message");
else
fprintf(stderr, "Bad news:\n %s\n", giterr_last()->message);
+ }
if(repo)
git_repository_free(repo);