summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trackerlogic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trackerlogic.c b/trackerlogic.c
index e2ac5b3..f01348d 100644
--- a/trackerlogic.c
+++ b/trackerlogic.c
@@ -525,7 +525,7 @@ void trackerlogic_add_random_torrents(size_t amount) {
525 ws.inbuf=malloc(G_INBUF_SIZE); 525 ws.inbuf=malloc(G_INBUF_SIZE);
526 ws.outbuf=malloc(G_OUTBUF_SIZE); 526 ws.outbuf=malloc(G_OUTBUF_SIZE);
527 ws.reply=ws.outbuf; 527 ws.reply=ws.outbuf;
528 ws.hash=ws.inbuf; 528 ws.hash=(ot_hash*)ws.inbuf;
529 529
530 while( amount-- ) { 530 while( amount-- ) {
531 arc4random_buf(ws.hash, sizeof(ot_hash)); 531 arc4random_buf(ws.hash, sizeof(ot_hash));