tRemove printf() debuging statements - libeech - bittorrent library
(HTM) git clone git://z3bra.org/libeech.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 8bd983aaaf8eba4628785591c859d718300103a1
(DIR) parent 009a0a8e71b2c329bd722650daf254bf81d82e19
(HTM) Author: z3bra <contactatz3bradotorg>
Date: Sun, 1 Jul 2018 12:56:19 +0200
Remove printf() debuging statements
Diffstat:
M libeech.c | 3 ---
1 file changed, 0 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/libeech.c b/libeech.c
t@@ -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;
t@@ -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;
}