Skip to content

Commit

Permalink
Fix Windows build issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Sep 14, 2023
1 parent 1cade96 commit 8e4d5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ mmdLoadString(mmd_t *root, /* I - Root node for document or `NULL` for a n
if ((fp = fopen(tempfile, "w+")) == NULL)
return (root);

fputs(fp, s);
fputs(s, fp);
rewind(fp);

#else // POSIX
Expand Down

0 comments on commit 8e4d5e2

Please sign in to comment.