diff options
Diffstat (limited to 'opentracker.c')
-rw-r--r-- | opentracker.c | 4 |
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; |