diff options
author | Omar Polo <op@omarpolo.com> | 2021-10-18 10:05:55 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-10-18 10:05:55 +0000 |
commit | 4842c72d9f3f45478cb641e15a3272e541fb8a18 (patch) | |
tree | 1a1b840362a8e78f6a71c67bce0d7157e0848cb5 /iri.c | |
parent | f8bcc13822154d8558246c9f994cf43c413a5714 (diff) |
fmt
Diffstat (limited to 'iri.c')
-rw-r--r-- | iri.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -229,7 +229,7 @@ path_elide_dotdot(char *path, char *i, int incr) if (i == path) return 0; for (j = i-2; j != path && *j != '/'; j--) - /* noop */ ; + /* noop */ ; if (*j == '/') j++; i += incr; @@ -428,7 +428,7 @@ serialize_iri(struct iri *i, char *buf, size_t len) strlcpy(buf, i->schema, len); strlcat(buf, "://", len); - strlcat(buf, i->host, len); + strlcat(buf, i->host, len); strlcat(buf, "/", len); if (i->path != NULL) |