diff options
Diffstat (limited to 'toys')
-rw-r--r-- | toys/pending/grep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/pending/grep.c b/toys/pending/grep.c index 6f69bdee..ae38988f 100644 --- a/toys/pending/grep.c +++ b/toys/pending/grep.c @@ -107,8 +107,8 @@ char *regfix (char *re_xs) { void addRE (char *x) { if (toys.optflags & FLAG_F) x = regfix (x); - if (TT.re_xs) TT.re_xs = astrcat (TT.re_xs, "|"); - TT.re_xs = astrcat (TT.re_xs, x); + if (TT.re_xs) TT.re_xs = xastrcat (TT.re_xs, "|"); + TT.re_xs = xastrcat (TT.re_xs, x); if (toys.optflags & FLAG_F) free (x); } |