summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authorerdgeist <>2006-12-12 02:37:19 +0000
committererdgeist <>2006-12-12 02:37:19 +0000
commit31c20c515d96c7311aa3483287202a48dd39cefb (patch)
tree949d07b127bfb9b498989d1d839652d08a9c5fd6 /opentracker.c
parent0de82a8925e38e39f01a732ee22b27607b820d0b (diff)
This is a complete rewrite... assume nothing works.
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opentracker.c b/opentracker.c
index f3a7a29..9c76f7f 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -141,8 +141,8 @@ e400:
141 case 8: 141 case 8:
142 if( byte_diff(data,8,"announce")) 142 if( byte_diff(data,8,"announce"))
143 goto e404; 143 goto e404;
144 byte_copy( peer.ip, 4, h->ip ); 144 byte_copy( &peer.ip, 4, h->ip );
145 peer.port = 6881; 145 peer.port_flags = 6881 << 16;
146 numwant = 50; 146 numwant = 50;
147 compact = 1; 147 compact = 1;
148 scanon = 1; 148 scanon = 1;