From: mar Date: Thu, 29 Jun 1989 16:23:25 +0000 (+0000) Subject: con't output empty grouplists X-Git-Tag: PATCH5~20 X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/004831542edb26fecc56c1eb02077b7cda26b266?hp=4e5690ff421ed97a7826c7e286f7b572dfa40e96 con't output empty grouplists --- diff --git a/gen/hesiod.qc b/gen/hesiod.qc index 73ed1194..f8347dd6 100644 --- a/gen/hesiod.qc +++ b/gen/hesiod.qc @@ -377,7 +377,8 @@ do_groups() if (i > 1) { remove_duplicate_groups(buf); } - fputs(buf, lout); + if (i > 0) + fputs(buf, lout); } }