]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/cmd/upas/smtp/greylist.c
merging erik quanstros nupas
[plan9front.git] / sys / src / cmd / upas / smtp / greylist.c
index b5cee5a6ee6a1401e14cebad3d0a44dca1ca9cdb..3bbe9f5869fd3807440a37a37c872d5ff79a0a0b 100644 (file)
@@ -53,7 +53,7 @@ onwhitelist(void)
 
        wl = Bopen(whitelist, OREAD);
        if (wl == nil)
-               return 1;
+               return 0;
        while ((line = Brdline(wl, '\n')) != nil) {
                lnlen = Blinelen(wl);
                line[lnlen-1] = '\0';           /* clobber newline */