Consolidate both versions of tr_isPex into a single function.
authorJuliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Sun, 16 Jan 2011 15:47:09 +0000 (15:47 +0000)
committerJuliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Sun, 16 Jan 2011 15:47:09 +0000 (15:47 +0000)
commit96141bdbff898cee5e07c7aa4e388e3542d6e20e
treee871f7e345a80c2a5103a348d83dbe0e4c9a3dae
parent6fdb8dabeaa5f8a58a1cbf2488d73b2cad5ebb63
Consolidate both versions of tr_isPex into a single function.

There used to be two versions of tr_isPex; one correct in peer-mgr.c,
and one buggy in resume.c.  The buggy version caused us to reject all
peers with non-trivial flags when resuming.
libtransmission/peer-mgr.c
libtransmission/peer-mgr.h
libtransmission/resume.c