Rename pop_query_d to pop_query and remove useless arg
[apps/madmutt.git] / pop / pop_auth.c
index cca0e0c..d17d52f 100644 (file)
@@ -7,21 +7,14 @@
  * please see the file GPL in the top level source directory.
  */
 
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
 #include <lib-lib/lib-lib.h>
+
 #include <lib-hash/hash.h>
 
 #include "mutt.h"
 #include "mx.h"
 #include "pop.h"
 
-
-#include <string.h>
-#include <unistd.h>
-
 #ifdef USE_SASL
 #include <sasl/sasl.h>
 #include <sasl/saslutil.h>
@@ -239,7 +232,7 @@ static pop_auth_res_t pop_auth_user (POP_DATA * pop_data,
 
   if (ret == PQ_OK) {
     snprintf (buf, sizeof (buf), "PASS %s\r\n", pop_data->conn->account.pass);
-    ret = pop_query_d (pop_data, buf, sizeof (buf), NULL);
+    ret = pop_query (pop_data, buf, sizeof (buf));
   }
 
   switch (ret) {