summaryrefslogtreecommitdiff
path: root/examples/network
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2012-06-22 20:48:50 +0200
committerVicent Marti <tanoku@gmail.com>2012-06-22 20:48:50 +0200
commit2ae052d1b1574d1a4de402c91ebb98f061c997d4 (patch)
treeb300607ad284ef97e5b0d09cf519905f84668174 /examples/network
parent430af731d259053691b0de9b18917f7adf97021a (diff)
parentdb5a6ec72b63c986cca764c75f9d3d720cff44ef (diff)
downloadlibgit2-2ae052d1b1574d1a4de402c91ebb98f061c997d4.tar.gz
Merge branch 'pull-req' of https://github.com/chris-y/libgit2 into amigaos
Diffstat (limited to 'examples/network')
-rw-r--r--examples/network/Makefile2
-rw-r--r--examples/network/fetch.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/network/Makefile b/examples/network/Makefile
index c21869ac9..298b1dc86 100644
--- a/examples/network/Makefile
+++ b/examples/network/Makefile
@@ -2,7 +2,7 @@ default: all
CC = gcc
CFLAGS += -g
-CFLAGS += -I../../include -L../../ -lgit2 -lpthread
+CFLAGS += -I../../include -L../../build -lgit2 -lpthread
OBJECTS = \
git2.o \
diff --git a/examples/network/fetch.c b/examples/network/fetch.c
index 8dcb81b1f..d2752124d 100644
--- a/examples/network/fetch.c
+++ b/examples/network/fetch.c
@@ -91,6 +91,7 @@ int fetch(git_repository *repo, int argc, char **argv)
usleep(10000);
printf("\rReceived %d/%d objects in %d bytes", stats.processed, stats.total, bytes);
} while (!data.finished);
+
printf("\rReceived %d/%d objects in %d bytes\n", stats.processed, stats.total, bytes);
// Disconnect the underlying connection to prevent from idling.