torrentd

simple torrent daemon
git clone git://git.2f30.org/torrentd
Log | Files | Refs | LICENSE

commit b92c68bb28d2d9be57498ad0a74747c0b9162b13
parent 6fe136b7452651d823e9a572b75cdf1208f2fb07
Author: sin <sin@2f30.org>
Date:   Sat, 19 Dec 2015 08:08:06 +0000

Minor style fix

Diffstat:
Mtorrent.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/torrent.c b/torrent.c @@ -213,7 +213,7 @@ loadtorrent(char *f) err3: i = t->nannouncers; - while(i--) { + while (i--) { j = t->announcers[i].len; while (j--) free(t->announcers[i].urls[j]); @@ -242,7 +242,7 @@ unloadtorrent(struct torrent *t) return; i = t->nannouncers; - while(i--) { + while (i--) { j = t->announcers[i].len; while (j--) free(t->announcers[i].urls[j]);