summaryrefslogtreecommitdiff
path: root/ot_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_http.c')
-rw-r--r--ot_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_http.c b/ot_http.c
index a14f950..dc8bd4e 100644
--- a/ot_http.c
+++ b/ot_http.c
@@ -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;