summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ot_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_http.c b/ot_http.c
index 7640676..7334609 100644
--- a/ot_http.c
+++ b/ot_http.c
@@ -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 );