Fixed bug in async_bench
This commit is contained in:
parent
1f4cae4bf7
commit
1808e3c4c8
@ -35,6 +35,7 @@ int count_lines(const char *filename)
|
|||||||
if ('\n' == ch)
|
if ('\n' == ch)
|
||||||
counter++;
|
counter++;
|
||||||
}
|
}
|
||||||
|
fclose(infile);
|
||||||
|
|
||||||
return counter;
|
return counter;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user