Merge pull request #407 from RichardHitt/master

Fix bug in url.c at re_host().
This commit is contained in:
RichardHitt 2013-02-13 15:05:11 -08:00
commit 3b23642e2c
1 changed files with 3 additions and 0 deletions

View File

@ -371,6 +371,9 @@ re_host (void)
{ {
static GRegex *host_ret; static GRegex *host_ret;
char *grist; char *grist;
if (host_ret) return host_ret;
grist = g_strdup_printf ( grist = g_strdup_printf (
"(" /* HOST */ "(" /* HOST */
HOST OPT_PORT HOST OPT_PORT