Remove useless imap_cmd_running()
authorJulien Danjou <julien@danjou.info>
Fri, 17 Nov 2006 17:35:09 +0000 (18:35 +0100)
committerPierre Habouzit <madcoder@debian.org>
Fri, 17 Nov 2006 19:36:13 +0000 (20:36 +0100)
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
imap/command.c

index 8b93712..2714633 100644 (file)
@@ -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