Debug information only in debug mode.

This commit is contained in:
erdgeist 2009-07-17 15:53:35 +00:00
parent 06e89257a1
commit 57f85fc7cc

View File

@ -83,9 +83,9 @@ static void accesslist_readfile( int sig ) {
/* Find start of next line */ /* Find start of next line */
while( read_offs < map_end && *(read_offs++) != '\n' ); while( read_offs < map_end && *(read_offs++) != '\n' );
} }
//#ifdef _DEBUG #ifdef _DEBUG
fprintf( stderr, "Added %d info_hashes to accesslist\n", info_hash - accesslist_new ); fprintf( stderr, "Added %d info_hashes to accesslist\n", info_hash - accesslist_new );
//#endif #endif
mmap_unmap( map, maplen); mmap_unmap( map, maplen);