More string and buffer functions.
[apps/madmutt.git] / lib-lib / url.c
index ce0f970..79bf79e 100644 (file)
@@ -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;