Skip to content

Commit 25324eb

Browse files
committed
updated for version 7.4b.014
Problem: Stupid mistake. Solution: Changle "len" to "i".
1 parent 9ee941f commit 25324eb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/misc1.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10890,8 +10890,8 @@ get_cmd_output(cmd, infile, flags)
1089010890
{
1089110891
/* Change NUL into SOH, otherwise the string is truncated. */
1089210892
for (i = 0; i < len; ++i)
10893-
if (buffer[len] == NUL)
10894-
buffer[len] = 1;
10893+
if (buffer[i] == NUL)
10894+
buffer[i] = 1;
1089510895

1089610896
buffer[len] = NUL; /* make sure the buffer is terminated */
1089710897
}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,8 @@ static char *(features[]) =
727727

728728
static int included_patches[] =
729729
{ /* Add new patch number below this line */
730+
/**/
731+
14,
730732
/**/
731733
13,
732734
/**/

0 commit comments

Comments
 (0)