]> Pileus Git - ~andy/fetchmail/commitdiff
Fix options handling.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 11 Oct 1996 17:06:47 +0000 (17:06 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 11 Oct 1996 17:06:47 +0000 (17:06 -0000)
svn path=/trunk/; revision=314

fetchmail.c
options.c

index 34009a33824f8a152e388d10be840c15f7ef7623..2d37d35a13391247ce37f97c4d24da2dd1831559 100644 (file)
@@ -504,12 +504,12 @@ struct hostrec *queryctl;
     if (queryctl->authenticate == A_KERBEROS)
            printf("  Kerberos authentication enabled.\n");
 
-    printf("  Fetched messages will%s be kept on the server (--keep %s).\n",
-          queryctl->keep ? "" : " not",
-          queryctl->keep ? "on" : "off");
     printf("  %s messages will be retrieved (--all %s).\n",
           queryctl->fetchall ? "All" : "Only new",
           queryctl->fetchall ? "on" : "off");
+    printf("  Fetched messages will%s be kept on the server (--keep %s).\n",
+          queryctl->keep ? "" : " not",
+          queryctl->keep ? "on" : "off");
     printf("  Old messages will%s be flushed before message retrieval (--flush %s).\n",
           queryctl->flush ? "" : " not",
           queryctl->flush ? "on" : "off");
index bab6565496b049860427021293d6721fd3abe01e..d9ca584586bfc8dec390552d96722e731cde32fd 100644 (file)
--- a/options.c
+++ b/options.c
@@ -168,7 +168,7 @@ struct hostrec *queryctl;
            {
                queryctl->protocol = P_POP3;
                queryctl->port = KPOP_PORT;
-               queryctl->authenticate ==  A_KERBEROS;
+               queryctl->authenticate =  A_KERBEROS;
            }
            else {
                fprintf(stderr,"Invalid protocol `%s' specified.\n", optarg);