Skip to content

Commit

Permalink
Fix issue twaugh#53
Browse files Browse the repository at this point in the history
  • Loading branch information
samatcodeapprove authored Feb 2, 2023
1 parent 8cdb18c commit 7af6814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interdiff.c
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ output_delta (FILE *p1, FILE *p2, FILE *out)
if (getline (&oldname, &namelen, p1) < 0)
error (EXIT_FAILURE, errno, "Bad patch #1");

} while (strncmp (oldname, "+++ ", 4));
} while (strncmp (oldname, "--- ", 4));
oldname[strlen (oldname) - 1] = '\0';

do {
Expand Down

0 comments on commit 7af6814

Please sign in to comment.