summaryrefslogtreecommitdiff
path: root/examples/network/index-pack.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-10-17 14:06:32 -0700
committerBen Straub <bs@github.com>2012-10-19 19:36:22 -0700
commit7635a1188a963f2fd7136a957ab9ab65baeff866 (patch)
treeee9d25b8fcf8a9fb010fd25c35f931db8695d794 /examples/network/index-pack.c
parent216863c48fd05b08e9b0083d61dcb163a2add62a (diff)
downloadlibgit2-7635a1188a963f2fd7136a957ab9ab65baeff866.tar.gz
Fix example compilation
Diffstat (limited to 'examples/network/index-pack.c')
-rw-r--r--examples/network/index-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/index-pack.c b/examples/network/index-pack.c
index 85aac4aff..69338b37f 100644
--- a/examples/network/index-pack.c
+++ b/examples/network/index-pack.c
@@ -33,7 +33,7 @@ int index_pack(git_repository *repo, int argc, char **argv)
return EXIT_FAILURE;
}
- if (git_indexer_stream_new(&idx, ".") < 0) {
+ if (git_indexer_stream_new(&idx, ".", NULL, NULL) < 0) {
puts("bad idx");
return -1;
}