summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/network/Makefile2
-rw-r--r--examples/network/index-pack.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/network/Makefile b/examples/network/Makefile
index 298b1dc86..9afd49e5d 100644
--- a/examples/network/Makefile
+++ b/examples/network/Makefile
@@ -2,7 +2,7 @@ default: all
CC = gcc
CFLAGS += -g
-CFLAGS += -I../../include -L../../build -lgit2 -lpthread
+CFLAGS += -I../../include -L../../build -L../.. -lgit2 -lpthread
OBJECTS = \
git2.o \
diff --git a/examples/network/index-pack.c b/examples/network/index-pack.c
index 5824fc555..ef5a35957 100644
--- a/examples/network/index-pack.c
+++ b/examples/network/index-pack.c
@@ -25,7 +25,7 @@ int index_pack(git_repository *repo, int argc, char **argv)
return EXIT_FAILURE;
}
- if (git_indexer_stream_new(&idx, ".git") < 0) {
+ if (git_indexer_stream_new(&idx, ".") < 0) {
puts("bad idx");
return -1;
}