summaryrefslogtreecommitdiff
path: root/src/url.h
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-03-05 10:08:14 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-03-05 10:08:14 +0900
commit374d0b57dade4c128ca5b7e51a4b1a91d4af13aa (patch)
tree35a91b2803ca4579f1f4f1098fa55279d928ad35 /src/url.h
parent61fb427c104d6f2334aaee9c7d90d8287d521b17 (diff)
downloadwget-374d0b57dade4c128ca5b7e51a4b1a91d4af13aa.tar.gz
wget-374d0b57dade4c128ca5b7e51a4b1a91d4af13aa.tar.bz2
wget-374d0b57dade4c128ca5b7e51a4b1a91d4af13aa.zip
Imported Upstream version 1.16.2upstream/1.16.2
Diffstat (limited to 'src/url.h')
-rw-r--r--src/url.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/url.h b/src/url.h
index 1627be9..ed91bb1 100644
--- a/src/url.h
+++ b/src/url.h
@@ -95,6 +95,10 @@ struct url
/* Username and password (unquoted). */
char *user;
char *passwd;
+
+ /* 'host' is allocated by idna_to_ascii_8z() via idn_encode().
+ * Call 'idn_free()' to free this memory. */
+ bool idn_allocated;
};
/* Function declarations */