Permalink
Browse files

what the hell is going on?

  • Loading branch information...
auziabbruzzesi
auziabbruzzesi committed Apr 1, 2018
1 parent 12b4312 commit 13d3597eb3a2eb26290af1721ab205a79d755304
Showing with 3 additions and 1 deletion.
  1. +3 −1 tcpserver.c
@@ -142,12 +142,14 @@ int main(void) {
}
printf("there are %d lines \n", count);
printf("here\n");
char line [80]; /* or other suitable maximum line size */
int j = 0;
printf("%s",fgets(line,sizeof(line),file));
printf("here2\n");
printf("%s",fgets(line,sizeof(line),file));
while ( fgets ( line, sizeof(line), file ) != NULL ){
//fputs ( line, stdout ); /* write the line */

0 comments on commit 13d3597

Please sign in to comment.