X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=imap%2Futil.c;h=caf1616a96510e769bbb1dc1013f809cc07eef95;hb=1a6071baa1d376cd45ab88891b00181bb84042f1;hp=9a1a9a33c1efad27a2466e2023d161a0b92e58e0;hpb=108f3c7ab59844591f7540347914ea57be5245e2;p=apps%2Fmadmutt.git diff --git a/imap/util.c b/imap/util.c index 9a1a9a3..caf1616 100644 --- a/imap/util.c +++ b/imap/util.c @@ -23,7 +23,6 @@ #include #include -#include #include #include @@ -80,7 +79,6 @@ int imap_parse_path (const char *path, IMAP_MBOX * mx) ImapPort = ntohs (service->s_port); else ImapPort = IMAP_PORT; - debug_print (3, ("Using default IMAP port %d\n", ImapPort)); } if (!ImapsPort) { service = getservbyname ("imaps", "tcp"); @@ -88,7 +86,6 @@ int imap_parse_path (const char *path, IMAP_MBOX * mx) ImapsPort = ntohs (service->s_port); else ImapsPort = IMAP_SSL_PORT; - debug_print (3, ("Using default IMAPS port %d\n", ImapsPort)); } /* Defaults */ @@ -214,7 +211,7 @@ void imap_free_idata (IMAP_DATA ** idata) * Moreover, IMAP servers may dislike the path ending with the delimiter. */ char *imap_fix_path (IMAP_DATA * idata, char *mailbox, char *path, - size_t plen) + ssize_t plen) { int x = 0; @@ -474,7 +471,7 @@ int imap_wordcasecmp (const char *a, const char *b) * */ -static RETSIGTYPE alrm_handler (int sig) +static RETSIGTYPE alrm_handler (int sig __attribute__((unused))) { /* empty */ }