there is no real need for a lib-hash anymore. fold it.
[apps/madmutt.git] / pop / pop_auth.c
index d86ea30..98dc1cc 100644 (file)
@@ -9,14 +9,14 @@
 
 #include <lib-lib/lib-lib.h>
 
-#include <lib-hash/hash.h>
+#include <sasl/sasl.h>
+#include <sasl/saslutil.h>
+
 #include <lib-mx/mx.h>
 
+#include "md5.h"
 #include "mutt.h"
 #include "pop.h"
-
-#include <sasl/sasl.h>
-#include <sasl/saslutil.h>
 #include "mutt_sasl.h"
 
 /* SASL authenticator */
@@ -101,7 +101,7 @@ static pop_auth_res_t pop_auth_sasl (POP_DATA * pop_data, const char *method)
 
       /* sasl_client_st(art|ep) allocate pc with malloc, expect me to 
        * free it */
-      p_delete(&pc);
+      p_delete((char **)&pc);
     }
   }