libeech

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

commit ddf51c1ca8e2c0f84e146cf52d019a599b5c45c2
parent 2eea005257be3fa89a34c62e77a51956e2605867
Author: z3bra <contactatz3bradotorg>
Date:   Tue Feb 13 22:40:45 -0500

Initialize peer numbers in netloop

Diffstat:
libeech.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libeech.c b/libeech.c @@ -373,7 +373,7 @@ netloop(struct torrent *t, int timeout) struct peer *p; struct peerfds pfds; - nfds = peercnt(t->peers); + nfds = npeer = peercnt(t->peers); if (nfds < 1) return -1;