summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-02-16 15:30:13 +0100
committerBerke Viktor <bviktor@hexchat.org>2013-02-16 15:30:13 +0100
commitf43dfc1099f6173c2783f70a17adabc150f6aad8 (patch)
treeedf9b1edb83ecb25264200d0561ee3c1822f2e0e /src
parente41a84b094e514f7ce237d9108e59c02156f4849 (diff)
parent3b23642e2cdce51569fe576e9b1b554c58de8449 (diff)
Merge branch 'master' of https://github.com/hexchat/hexchat
Diffstat (limited to 'src')
-rw-r--r--src/common/url.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/url.c b/src/common/url.c
index dad23b67..6bd7d9ff 100644
--- a/src/common/url.c
+++ b/src/common/url.c
@@ -371,6 +371,9 @@ re_host (void)
 {
 	static GRegex *host_ret;
 	char *grist;
+
+	if (host_ret) return host_ret;
+
 	grist = g_strdup_printf (
 		"("	/* HOST */
 			HOST OPT_PORT