X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/4e8294e08d172bb1db6b5bcc8c00e259cd0bb6ca..ef1ba39e8dae81091b6c3e73e72825ef6edea3c6:/uip/popsbr.c diff --git a/uip/popsbr.c b/uip/popsbr.c index fa9b99d1..54fd24ff 100644 --- a/uip/popsbr.c +++ b/uip/popsbr.c @@ -240,6 +240,8 @@ pop_init (char *host, char *port, char *user, char *proxy, int snoop, if (poprint) fprintf (stderr, "<--- %s\n", response); if (*response == '+') { + nmh_creds_t creds; + if (sasl) { char server_mechs[256]; if (check_mech(server_mechs, sizeof(server_mechs)) != OK) @@ -253,7 +255,6 @@ pop_init (char *host, char *port, char *user, char *proxy, int snoop, } return OK; } - nmh_creds_t creds; if (!(creds = nmh_get_credentials(host, user))) return NOTOK;