diff --git a/src/sbbs3/install/sbbsinst.c b/src/sbbs3/install/sbbsinst.c index 8a65de4bbad9fdb3ef968d2b9888bb59c9dfcddc..c31eecb1302c708533ce28d30d06606501cfedcf 100644 --- a/src/sbbs3/install/sbbsinst.c +++ b/src/sbbs3/install/sbbsinst.c @@ -614,7 +614,7 @@ void install_sbbs(dist_t *dist,struct server_ent_t *server) { } } } - printf("Downloading %s ",url); + printf("Downloading %s ",url); offset=0; while((ret1=read(remote,buf,sizeof(buf)))>=0) { ret2=write(fout,buf,ret1); @@ -626,7 +626,9 @@ void install_sbbs(dist_t *dist,struct server_ent_t *server) { } offset+=ret2; if(flen) - printf("\b\b\b\b%3lu%%",(long)(((float)offset/(float)flen)*100.0)); + printf("\b\b\b\b\b\b\b\b\b\b%3lu%% ",(long)(((float)offset/(float)flen)*100.0)); + else + printf("\b\b\b\b\b\b\b\b\b\b%10lu",offset); fflush(stdout); } printf("\n");