Commit 41178b419a5fcf3a65c2b313ecc688c607f411c9

Carlos Martín Nieto 2012-05-11T21:49:33

examples: fix an oopsie

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/examples/network/git2.c b/examples/network/git2.c
index c694762..d6ea419 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);