Commit 3fee9447 authored by RichardHitt's avatar RichardHitt

Don't clobber data, just adjust url endpoint

parent 503968c1
......@@ -289,7 +289,7 @@ url_check_line (char *buf, int len)
g_match_info_fetch_pos(gmi, 0, &start, &end);
while (end > start && (po[end - 1] == '\r' || po[end - 1] == '\n'))
po[--end] = 0;
end--;
if (g_strstr_len (po + start, end - start, "://"))
url_add(po + start, end - start);
g_match_info_next(gmi, NULL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment