This commit is contained in:
twinaphex 2016-12-26 06:44:04 +01:00
parent bfd0aa18e4
commit 43459e2269

View File

@ -46,9 +46,11 @@ int string_parse_html_anchor(const char *line, char *link, char *name,
memset(link, 0, link_size);
memset(name, 0, name_size);
if(!(line = strcasestr(line, "<a href=\"")))
line = strcasestr(line, "<a href=\"");
if (!line)
return 1;
else
line += 9;
if (line && *line)