X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=pop%2Fmx_pop.c;h=2de03d7af867864bf40b70e25e52c10777d96169;hb=62781e50bfc69cf85be21ec9a18aeb32ef789952;hp=17a1ac2ae3745448d06c9189e9582bbac2c38655;hpb=8e6b42b9b28f646a6764936d80bda04647d5b45f;p=apps%2Fmadmutt.git diff --git a/pop/mx_pop.c b/pop/mx_pop.c index 17a1ac2..2de03d7 100644 --- a/pop/mx_pop.c +++ b/pop/mx_pop.c @@ -7,6 +7,8 @@ #include "config.h" #endif +#include + #include "mutt.h" #include "pop.h" @@ -18,7 +20,7 @@ #include "url.h" -static int pop_is_magic (const char* path) { +static int pop_is_magic (const char* path, struct stat* st) { url_scheme_t s = url_check_scheme (NONULL (path)); return ((s == U_POP || s == U_POPS) ? M_POP : -1); } @@ -44,5 +46,7 @@ mx_t* pop_reg_mx (void) { fmt->mx_is_magic = pop_is_magic; fmt->mx_open_mailbox = pop_open_mailbox; fmt->mx_acl_check = acl_check_pop; + fmt->mx_fastclose_mailbox = pop_close_mailbox; + fmt->mx_sync_mailbox = pop_sync_mailbox; return (fmt); }