Browse Source

Debug information only in debug mode.

dynamic-accesslists
erdgeist 16 years ago
parent
commit
57f85fc7cc
  1. 4
      ot_accesslist.c

4
ot_accesslist.c

@ -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);

Loading…
Cancel
Save