diff -uNr reprepro.orig/downloadcache.c reprepro/downloadcache.c --- reprepro.orig/downloadcache.c 2008-07-30 20:09:54.000000000 +0200 +++ reprepro/downloadcache.c 2010-03-09 18:49:57.000000000 +0100 @@ -156,6 +156,7 @@ cache->last_percent = percent; printf("Got %u%%: ", percent); + fprintf(stderr,"Got %u%%: ", percent); b = all & 1023; all = all >> 10; kb = all & 1023; @@ -167,23 +168,29 @@ tb = all; if( tb != 0 ) { printf("%dT ", tb); + fprintf(stderr,"%dT ", tb); groups++; } if( groups < 2 && (groups > 0 || gb != 0 ) ) { printf("%dG ", gb); + fprintf(stderr,"%dG ", gb); groups++; } if( groups < 2 && (groups > 0 || mb != 0 ) ) { printf("%dM ", mb); + fprintf(stderr,"%dM ", mb); groups++; } if( groups < 2 && (groups > 0 || kb != 0 ) ) { printf("%dK ", kb); + fprintf(stderr,"%dK ", kb); groups++; } if( groups < 2 && (groups > 0 || b != 0 ) ) printf("%d ", b); + fprintf(stderr,"%d ", b); puts("bytes"); + fprintf(stderr,"bytes"); } } r = files_add_checksums(database, d->filekey, d->checksums);