diff options
author | RichardHitt <rbh00@netcom.com> | 2013-02-13 15:05:11 -0800 |
---|---|---|
committer | RichardHitt <rbh00@netcom.com> | 2013-02-13 15:05:11 -0800 |
commit | 3b23642e2cdce51569fe576e9b1b554c58de8449 (patch) | |
tree | b76fa0eb0830b848a268cc882b8daef16419ce89 /src/common | |
parent | ef18734f2042ce8bfd11cc508bc803de555e495a (diff) | |
parent | 8e3d0391995f9e935efb6049d8d0bcfedf184a54 (diff) |
Merge pull request #407 from RichardHitt/master
Fix bug in url.c at re_host().
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/url.c | 3 |
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 |