X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh.c;h=b66e260adf47d9b4350d8d05610e8945c6a8efad;hp=7fc32cd1c583a035475888cf7ed69473b3402d84;hb=f393aab6b6e8c7413c02b4e198666ad95570066c;hpb=59cf2c9960d35d409a3610281b81b2e59ad7e5d1 diff --git a/afh.c b/afh.c index 7fc32cd1..b66e260a 100644 --- a/afh.c +++ b/afh.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008-2009 Andre Noll + * Copyright (C) 2008-2010 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -76,7 +76,7 @@ static void print_chunk_table(struct afh_info *afhi) from = tv2ms(&tv); tv_scale(i, &afhi->chunk_tv, &tv); to = tv2ms(&tv); - printf("%d [%lu.%03lu - %lu.%03lu] %u - %u (%u)\n", i, + printf("%d [%lu.%03lu - %lu.%03lu] %u - %u (%u)\n", i - 1, from / 1000, from % 1000, to / 1000, to % 1000, afhi->chunk_table[i - 1], afhi->chunk_table[i], afhi->chunk_table[i] - afhi->chunk_table[i - 1]);