From 0de82a8925e38e39f01a732ee22b27607b820d0b Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Sat, 9 Dec 2006 12:50:42 +0000 Subject: Fixed parser --- trackerlogic.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'trackerlogic.c') diff --git a/trackerlogic.c b/trackerlogic.c index 1407522..03e7bd8 100644 --- a/trackerlogic.c +++ b/trackerlogic.c @@ -227,6 +227,7 @@ void *map_file( char *file_name ) { char *map; if( file_name ) { int file_desc=open(file_name,O_RDWR|O_CREAT|O_NDELAY,0644); +printf( "%s\n", file_name ); if( file_desc < 0) return 0; lseek( file_desc, OT_HUGE_FILESIZE, SEEK_SET ); write( file_desc, "_", 1 ); @@ -263,8 +264,6 @@ int init_logic( char *directory ) { torrents_list = map_file( NULL ); torrents_count = 0; - printf( "%08x %08x\n", scratch_space, torrents_list ); - if( !scratch_space || !torrents_list ) { if( scratch_space || torrents_list ) unmap_file( NULL, scratch_space ? (void*)scratch_space : (void*)torrents_list, 0 ); -- cgit v1.2.3