fix warning.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
#include "recvattach.h"
#include "buffy.h"
#include "thread.h"
-#include "mutt_sasl.h"
#include <imap/imap_private.h>
/* Close all open NNTP connections */
nntp_logout_all ();
#endif
- mutt_sasl_done ();
}
mutt_menuDestroy (&menu);
}
luaM_shutdown();
+ mutt_sasl_shutdown();
exit (0);
}
conn->conn_write = mutt_sasl_conn_write;
}
-void mutt_sasl_done (void) {
- sasl_done ();
+void mutt_sasl_shutdown(void) {
+ sasl_done();
}
/* mutt_sasl_cb_authname: callback to retrieve authname or user from ACCOUNT */
int mutt_sasl_client_new (CONNECTION *, sasl_conn_t **);
int mutt_sasl_interact (sasl_interact_t *);
void mutt_sasl_setup_conn (CONNECTION *, sasl_conn_t *);
-void mutt_sasl_done(void);
+void mutt_sasl_shutdown(void);
#endif /* _MUTT_SASL_H_ */
/* sasl_client_st(art|ep) allocate pc with malloc, expect me to
* free it */
- p_delete(&pc);
+ p_delete((char **)&pc);
}
}