1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-12 16:00:06 +00:00

print when RANDOMTORRENTS were created

This commit is contained in:
Dirk Engling 2024-04-14 17:32:18 +02:00
parent 04e0eca0a0
commit 0ce6c42aaa

View File

@ -722,8 +722,9 @@ int main( int argc, char **argv ) {
trackerlogic_init( ); trackerlogic_init( );
#ifdef _DEBUG_RANDOMTORRENTS #ifdef _DEBUG_RANDOMTORRENTS
fprintf(stderr, "DEBUG: Generating %zd random peers on random torrents. This may take a while. (Setting RANDOMTORRENTS in trackerlogic.h\n", RANDOMTORRENTS); fprintf(stderr, "DEBUG: Generating %d random peers on random torrents. This may take a while. (Setting RANDOMTORRENTS in trackerlogic.h\n", RANDOMTORRENTS);
trackerlogic_add_random_torrents(RANDOMTORRENTS); trackerlogic_add_random_torrents(RANDOMTORRENTS);
fprintf(stderr, "... done.\n);
#endif #endif
if( statefile ) if( statefile )