[hackers] [sbase] Fix typo in join(1) || FRIGN
commit a6f8f66ac121f03e36e6793d8b89ff3cbc4ee687
Author: FRIGN <dev_AT_frign.de>
Date: Sat Jun 6 22:38:03 2015 +0200
Fix typo in join(1)
This was causing some mysterious output bugs.
Thanks, Wolfgang Corcoran-Mathe!
diff --git a/join.c b/join.c
index b2fd07e..a013946 100644
--- a/join.c
+++ b/join.c
_AT_@ -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();
}
}
Received on Sun Jun 07 2015 - 10:09:47 CEST
This archive was generated by hypermail 2.3.0
: Thu Jun 18 2015 - 17:36:32 CEST