X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=imap%2Fcommand.c;h=83ebbe73d00997f64b8d04d581f5d5362b9a91f4;hb=d776c6c67b63e05bd052fcedf77e9147560e83af;hp=5caaee9485eb09ab01434fec6ea04ba319a7db05;hpb=23e6291cb5d5b4cd2008403d8b628007fd75ff23;p=apps%2Fmadmutt.git diff --git a/imap/command.c b/imap/command.c index 5caaee9..83ebbe7 100644 --- a/imap/command.c +++ b/imap/command.c @@ -12,13 +12,7 @@ /* command.c: routines for sending commands to an IMAP server and parsing * responses */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include +#include #include "mutt.h" #include "message.h" @@ -186,9 +180,7 @@ int imap_exec (IMAP_DATA * idata, const char *cmd, int flags) out = p_new(char, outlen); snprintf (out, outlen, "%s %s\r\n", idata->cmd.seq, cmd); - rc = mutt_socket_write_d (idata->conn, out, - flags & IMAP_CMD_PASS ? IMAP_LOG_PASS : - IMAP_LOG_CMD); + rc = mutt_socket_write(idata->conn, out); p_delete(&out); if (rc < 0) {