[project @ 2003-10-30 22:45:23 by jmb]

Fix bug causing mailto: links to cause a crash

svn path=/import/netsurf/; revision=394
This commit is contained in:
John Mark Bell 2003-10-30 22:45:23 +00:00
parent d3bd31c3a7
commit 76c37600ad

View File

@ -72,6 +72,9 @@ struct login *login_list_get(char *host) {
if (host == NULL)
return NULL;
if (strncasecmp(host, "http", 4) != 0)
return NULL;
temphost = get_host_from_url(host);
temp = xstrdup(host);