]> Pileus Git - ~andy/fetchmail/blobdiff - conf.c
Add new gai.c debug source.
[~andy/fetchmail] / conf.c
diff --git a/conf.c b/conf.c
index 5b5d877908a879506bb0b6c8a6ae5f8e5331fb14..e51c7ccb3ef609bd9b8ea673a7ce1875af9d6aaf 100644 (file)
--- a/conf.c
+++ b/conf.c
@@ -272,8 +272,6 @@ void dump_config(struct runctl *runp, struct query *querylist)
                stringdump("auth", "any");
            else if (ctl->server.authenticate == A_PASSWORD)
                stringdump("auth", "password");
-           else if (ctl->server.authenticate == A_OTP)
-               stringdump("auth", "otp");
            else if (ctl->server.authenticate == A_NTLM)
                stringdump("auth", "ntlm");
            else if (ctl->server.authenticate == A_CRAM_MD5)
@@ -317,7 +315,7 @@ void dump_config(struct runctl *runp, struct query *querylist)
                /* this is a hack - we map this to a boolean option for
                 * fetchmailconf purposes */
                case BHREJECT: puts("'badheader': FALSE,"); break;
-               case BHPASS:   puts("'badheader': TRUE,"); break;
+               case BHACCEPT: puts("'badheader': TRUE,"); break;
            }
 
            indent(0);