From: mar Date: Fri, 30 Jul 1993 17:51:13 +0000 (+0000) Subject: only on people who have or ever had poboxes X-Git-Tag: release77~143 X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/9a5fc9c74eb417a581650a449dcba4549f52d582?ds=inline only on people who have or ever had poboxes --- diff --git a/gen/hesiod.dc b/gen/hesiod.dc index 905a4a45..49c064a6 100644 --- a/gen/hesiod.dc +++ b/gen/hesiod.dc @@ -221,7 +221,7 @@ do_passwd() login, shell); fprintf(uout, "%d.uid\tHS CNAME %s.passwd\n", uid, login); } - if (mach = hash_lookup(machines, pid)) { + if (pid != 0 && (mach = hash_lookup(machines, pid))) { fprintf(bout, "%s.pobox\tHS %s \"POP %s %s\"\n", login, HTYPE, mach, login); }