summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authorerdgeist <>2006-12-14 02:54:08 +0000
committererdgeist <>2006-12-14 02:54:08 +0000
commit8d13a14584a50cb0f192456a6388c7299d67db43 (patch)
tree3a9c7960975c5603504564815e0fbf80bd5561bd /opentracker.c
parent688a4edd9e489de26a9b53ea79f513e6461c7533 (diff)
announce now returns all mandatory answer dictionary entries
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c
index 6858f37..35482e4 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -270,7 +270,7 @@ e500:
270 httperror(h,"500 Internal Server Error","A server error has occured. Please retry later."); 270 httperror(h,"500 Internal Server Error","A server error has occured. Please retry later.");
271 goto bailout; 271 goto bailout;
272 } 272 }
273 reply = malloc( numwant*6+64 ); // peerlist + seeder, peers and lametta 273 reply = malloc( numwant*6+128 ); // peerlist + seeder, peers and lametta n*6+81 a.t.m.
274 if( reply ) 274 if( reply )
275 reply_size = return_peers_for_torrent( torrent, numwant, reply ); 275 reply_size = return_peers_for_torrent( torrent, numwant, reply );
276 if( !reply || ( reply_size < 0 ) ) { 276 if( !reply || ( reply_size < 0 ) ) {