projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable constructors/destructors.
[apps/madmutt.git]
/
lib-lib
/
url.c
diff --git
a/lib-lib/url.c
b/lib-lib/url.c
index
4829aa5
..
79bf79e
100644
(file)
--- 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},
{"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}
};
{"mailto", U_MAILTO},
{NULL, U_UNKNOWN}
};
@@
-96,7
+92,7
@@
static char *ciss_parse_userhost(ciss_url_t *ciss, char *src)
ciss->host = NULL;
ciss->port = 0;
ciss->host = NULL;
ciss->port = 0;
- if (strncmp(src, "//", 2))
+ if (
m_
strncmp(src, "//", 2))
return src;
src += 2;
return src;
src += 2;
@@
-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. */
}
/* 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(c
onst c
iss_url_t *ciss, char *dst, ssize_t len, int flags)
{
ssize_t l = 0;
{
ssize_t l = 0;