X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=nntp%2Fmx_nntp.c;h=9de796f57d8bf46e308af2461d3f0ef516031749;hp=60e90b5888d61041688c8bd3d53aa2171d588ef8;hb=b2a6a9673e124c222f921650a6f0025b64ab2145;hpb=cdd5dd2b406b2af4359f7b1e7360d0c9aba13777;ds=sidebyside diff --git a/nntp/mx_nntp.c b/nntp/mx_nntp.c index 60e90b5..9de796f 100644 --- a/nntp/mx_nntp.c +++ b/nntp/mx_nntp.c @@ -7,6 +7,8 @@ #include "config.h" #endif +#include + #include "mutt.h" #include "nntp.h" @@ -18,7 +20,7 @@ #include "url.h" -static int nntp_is_magic (const char* path) { +static int nntp_is_magic (const char* path, struct stat* st) { url_scheme_t s = url_check_scheme (NONULL (path)); return ((s == U_NNTP || s == U_NNTPS) ? M_NNTP : -1); }