diff options
author | Omar Polo <op@omarpolo.com> | 2021-10-02 17:20:56 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-10-02 17:20:56 +0000 |
commit | fa0299a26d6e0cc83135a7f46e74710a9d5a8efa (patch) | |
tree | 8ad7521f83e6566c1bacd08c5dbee5a00a9c869b /iri.c | |
parent | efe7d180292726775fb3ae5e6af593490a264c60 (diff) |
drop now unused trim_req_iri
Diffstat (limited to 'iri.c')
-rw-r--r-- | iri.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -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; |