diff options
Diffstat (limited to 'trackerlogic.c')
| -rw-r--r-- | trackerlogic.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/trackerlogic.c b/trackerlogic.c index fd34d28..134c504 100644 --- a/trackerlogic.c +++ b/trackerlogic.c | |||
| @@ -145,11 +145,7 @@ static void vector_remove_torrent( ot_vector *vector, ot_torrent *match ) { | |||
| 145 | } | 145 | } |
| 146 | } | 146 | } |
| 147 | 147 | ||
| 148 | #ifdef WANT_TRACKER_SYNC | 148 | ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer WANT_TRACKER_SYNC_PARAM( int from_changeset ) ) { |
| 149 | ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer, int from_changeset ) { | ||
| 150 | #else | ||
| 151 | ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ) { | ||
| 152 | #endif | ||
| 153 | int exactmatch; | 149 | int exactmatch; |
| 154 | ot_torrent *torrent; | 150 | ot_torrent *torrent; |
| 155 | ot_peer *peer_dest; | 151 | ot_peer *peer_dest; |
