diff options
| author | erdgeist <> | 2007-11-02 13:13:03 +0000 |
|---|---|---|
| committer | erdgeist <> | 2007-11-02 13:13:03 +0000 |
| commit | 8acc0ff48f675cf154987cfc11fe9ba7813eaf50 (patch) | |
| tree | fb9e5579106d3cc24eaba734173e137f929f7a25 /trackerlogic.c | |
| parent | 5aa41e9d82eaa5372fbcabfccd7a7c0ac5c5b058 (diff) | |
Introduce configuration dependent number of parameters in a nicer way
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; |
