fix lab09
This commit is contained in:
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -112,7 +112,8 @@ NODE* readFile(char *filepath, int *type, int *count)
|
||||
else
|
||||
{
|
||||
if (fscanf(file, format, data) != EXPECTED_INPUT ||
|
||||
*type == CHAR && *(char *)data == 'E')
|
||||
(*type == CHAR &&
|
||||
*(char *)data == 'E'))
|
||||
{
|
||||
free(data);
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user