X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=imap%2Futil.c;h=8ddca9e07a3fbbb2000df85895967bd7d4aa9a2c;hb=4282401a0bcdc285a228da4ad635cbf7baf71488;hp=6088321f11627c1d72d953e7efc6a1643ddf7b19;hpb=05a3bbbe420e4afc76e0eea24ce32f859405dc4a;p=apps%2Fmadmutt.git diff --git a/imap/util.c b/imap/util.c index 6088321..8ddca9e 100644 --- a/imap/util.c +++ b/imap/util.c @@ -15,12 +15,12 @@ #include #include +#include #include "mutt.h" #include "mx.h" /* for M_IMAP */ -#include "url.h" #include "imap_private.h" -#include +#include #include #include @@ -200,7 +200,7 @@ void imap_free_idata (IMAP_DATA ** idata) return; p_delete(&(*idata)->capstr); - mutt_free_list (&(*idata)->flags); + string_list_wipe(&(*idata)->flags); p_delete(&((*idata)->cmd.buf)); p_delete(idata); } @@ -214,7 +214,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 +474,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 */ }