X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-lib%2Furl.c;h=79bf79eb10b6474570656d632ae11531eeb97030;hb=66572f4a9c4574c9f2a2c3ef59526ac66b807b0b;hp=ce0f970231eff0f5d9b1d0946d0b949dae6bec6c;hpb=81efbf8081bad2eed7ad07209b301ca35fe183e8;p=apps%2Fmadmutt.git diff --git a/lib-lib/url.c b/lib-lib/url.c index ce0f970..79bf79e 100644 --- a/lib-lib/url.c +++ b/lib-lib/url.c @@ -37,10 +37,6 @@ static struct mapping_t UrlMap[] = { {"imaps", U_IMAPS}, {"pop", U_POP}, {"pops", U_POPS}, - {"nntp", U_NNTP}, - {"news", U_NNTP}, - {"nntps", U_NNTPS}, - {"snews", U_NNTPS}, {"mailto", U_MAILTO}, {NULL, U_UNKNOWN} }; @@ -147,7 +143,7 @@ int url_parse_ciss(ciss_url_t *ciss, char *src) } /* url_ciss_tostring: output the URL string for a given CISS object. */ -int url_ciss_tostring(ciss_url_t *ciss, char *dst, ssize_t len, int flags) +int url_ciss_tostring(const ciss_url_t *ciss, char *dst, ssize_t len, int flags) { ssize_t l = 0;