From a6f8f66ac121f03e36e6793d8b89ff3cbc4ee687 Mon Sep 17 00:00:00 2001 From: FRIGN Date: Sat, 6 Jun 2015 22:38:03 +0200 Subject: [PATCH] Fix typo in join(1) This was causing some mysterious output bugs. Thanks, Wolfgang Corcoran-Mathe! --- join.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/join.c b/join.c index b2fd07e..a013946 100644 --- a/join.c +++ b/join.c @@ -140,7 +140,7 @@ prjoin(struct line *la, struct line *lb, size_t jfa, size_t jfb) for (i = 0; i < lb->nf; i++) { if (i != jfb) { prfield(&lb->fields[i]); - if (i < la->nf - 1) + if (i < lb->nf - 1) prsep(); } }