libeech

BitTorrent library
git clone git://z3bra.org/libeech.git
Log | Files | Refs | README | LICENSE

commit 8bd983aaaf8eba4628785591c859d718300103a1
parent 009a0a8e71b2c329bd722650daf254bf81d82e19
Author: z3bra <contactatz3bradotorg>
Date:   Sun Jul  1 12:56:19 +0200

Remove printf() debuging statements

Diffstat:
libeech.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/libeech.c b/libeech.c @@ -470,8 +470,6 @@ pwprq(struct torrent *t, struct peer *p) p->piece.n = i; p->piece.sz = (i == t->npiece - 1) ? t->sz % t->psz : t->psz; - printf("Requesting piece of size %ld\n", p->piece.sz); - i = 0; while (i < p->piece.sz) { bl = BLKSIZ; @@ -508,7 +506,6 @@ pwprq(struct torrent *t, struct peer *p) m[off++] = (bl >> 0) & 0xff; send(p->fd, m, 17, MSG_NOSIGNAL); - printf("REQUEST #%ld: %ld/%ld\n", p->piece.n, i + bl, p->piece.sz); i += bl; }