Replace getc by fgetc
This commit is contained in:
1 parent
4d9405d564
commit
fc7b1516e2
1 file changed
+1
-1
+1
-1
@@ -800,7 +800,7 @@ string_in_str(string_t v, FILE *f)
|
||||
c = fgetc(f);
|
||||
while (c != '"' && c != EOF) {
|
||||
if (c == '\\') {
|
||||
c = getc(f);
|
||||
c = fgetc(f);
|
||||
if (c != '"') string_push_back (v, '\\');
|
||||
}
|
||||
string_push_back (v, c);
|
||||
|
||||
Reference in new issue
Block a user