diff options
Diffstat (limited to 'ot_http.c')
-rw-r--r-- | ot_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -312,7 +312,7 @@ static ssize_t http_handle_announce( const int64 sock, struct ot_workstruct *ws, | |||
312 | int numwant, tmp, scanon; | 312 | int numwant, tmp, scanon; |
313 | ot_peer peer; | 313 | ot_peer peer; |
314 | ot_hash *hash = NULL; | 314 | ot_hash *hash = NULL; |
315 | unsigned short port = htons(6881); | 315 | unsigned short port = 0; |
316 | char *write_ptr; | 316 | char *write_ptr; |
317 | ssize_t len; | 317 | ssize_t len; |
318 | struct http_data *cookie = io_getcookie( sock ); | 318 | struct http_data *cookie = io_getcookie( sock ); |