X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_sasl.c;h=699e67705949cb40a90e3b49666c5ef80a2a3a81;hp=15f8c0ee5298a8f499084f08378ea61fb204acff;hb=9274cbe8e6410ddb95ddc667faa678a29da85420;hpb=c22c84b23ab59c81ccd397c992b1c4adbbddeb80 diff --git a/mutt_sasl.c b/mutt_sasl.c index 15f8c0e..699e677 100644 --- a/mutt_sasl.c +++ b/mutt_sasl.c @@ -257,7 +257,7 @@ int mutt_sasl_client_new (CONNECTION * conn, sasl_conn_t ** saslconn) * just fall back to LOGIN in the IMAP case anyway. If that doesn't * work for POP, we can make it a flag or move this code into * imap/auth_sasl.c */ - memset (&secprops, 0, sizeof (secprops)); + p_clear(&secprops, 1); /* Work around a casting bug in the SASL krb4 module */ secprops.max_ssf = 0x7fff; secprops.maxbufsize = M_SASL_MAXBUF;