fix inv bug
This commit is contained in:
parent
d5e55b54ee
commit
3baa7157dc
1 changed files with 1 additions and 1 deletions
|
@ -71,8 +71,8 @@ int main(int argc, char *argv[]) {
|
|||
fptr = fopen(inv_file, "a");
|
||||
if (fptr == NULL)
|
||||
continue;
|
||||
fwrite("\n",sizeof(char),1,fptr);
|
||||
fwrite(res_str, sizeof(char), strlen(res_str), fptr);
|
||||
fwrite("\n",sizeof(char),1,fptr);
|
||||
fclose(fptr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue