diff options
-rw-r--r-- | ot_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -401,11 +401,11 @@ static ssize_t http_handle_announce( const int64 sock, struct ot_workstruct *ws, | |||
401 | OT_SETIP( &ws->peer, cookie->ip ); | 401 | OT_SETIP( &ws->peer, cookie->ip ); |
402 | } else | 402 | } else |
403 | #endif | 403 | #endif |
404 | OT_SETIP( &ws->peer, cookie->ip ); | ||
404 | 405 | ||
405 | ws->peer_id = NULL; | 406 | ws->peer_id = NULL; |
406 | ws->hash = NULL; | 407 | ws->hash = NULL; |
407 | 408 | ||
408 | OT_SETIP( &ws->peer, cookie->ip ); | ||
409 | OT_SETPORT( &ws->peer, &port ); | 409 | OT_SETPORT( &ws->peer, &port ); |
410 | OT_PEERFLAG( &ws->peer ) = 0; | 410 | OT_PEERFLAG( &ws->peer ) = 0; |
411 | numwant = 50; | 411 | numwant = 50; |