aboutsummaryrefslogtreecommitdiff
path: root/iri.c
diff options
context:
space:
mode:
Diffstat (limited to 'iri.c')
-rw-r--r--iri.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/iri.c b/iri.c
index 1282be8..fd34c2e 100644
--- a/iri.c
+++ b/iri.c
@@ -416,19 +416,6 @@ parse_iri(char *iri, struct iri *ret, const char **err_ret)
}
int
-trim_req_iri(char *iri, const char **err)
-{
- char *i;
-
- if ((i = strstr(iri, "\r\n")) == NULL) {
- *err = "missing CRLF";
- return 0;
- }
- *i = '\0';
- return 1;
-}
-
-int
serialize_iri(struct iri *i, char *buf, size_t len)
{
size_t l = 0;