]> andersk Git - moira.git/commitdiff
only on people who have or ever had poboxes
authormar <mar>
Fri, 30 Jul 1993 17:51:13 +0000 (17:51 +0000)
committermar <mar>
Fri, 30 Jul 1993 17:51:13 +0000 (17:51 +0000)
gen/hesiod.dc

index 905a4a45479dd406bef1e29016f492cdb61f1039..49c064a6952f8d372f25c90cfbb58bfd2e7e801f 100644 (file)
@@ -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);
            }
This page took 0.039147 seconds and 5 git commands to generate.