diff --git a/du6/program.c b/du6/program.c index fc974d0..54bda70 100644 --- a/du6/program.c +++ b/du6/program.c @@ -36,6 +36,7 @@ char names[100]; for(;fgets(list[count].fname,100,stdin);){ if(list[count].fname[0]=='\n'){ list[count].num=-1; + count++; // printf("skip"); } if(list[count].fname[0]!='\n'){