X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fcommand.c;h=bf21c4bf5b10bd1ac7d2682e6fae9cee55fc086b;hp=8b937128fbbac2be7080cd4b4a631ebef13dc4db;hb=1686002dbeab07d5016dcc508aeee83a5bc2a179;hpb=16536d59024177409f49134c3f03f69855c144b9 diff --git a/imap/command.c b/imap/command.c index 8b93712..bf21c4b 100644 --- a/imap/command.c +++ b/imap/command.c @@ -13,10 +13,10 @@ * responses */ #include +#include #include "mutt.h" #include "message.h" -#include "mx.h" #include "imap_private.h" #include @@ -209,16 +209,6 @@ int imap_exec (IMAP_DATA * idata, const char *cmd, int flags) return 0; } -/* imap_cmd_running: Returns whether an IMAP command is in progress. */ -int imap_cmd_running (IMAP_DATA * idata) -{ - if (idata->cmd.state == IMAP_CMD_CONTINUE || - idata->cmd.state == IMAP_CMD_RESPOND) - return 1; - - return 0; -} - /* imap_cmd_finish: Attempts to perform cleanup (eg fetch new mail if * detected, do expunge). Called automatically by imap_cmd_step, but * may be called at any time. Called by imap_check_mailbox just before