diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ parseuri(const char *s, struct uri *u, int rel) const char *p = s; size_t i; - memset(u, 0, sizeof(struct uri)); + u->proto[0] = u->host[0] = u->path[0] = '\0'; if (!*s) return 0; |