View | Details | Raw Unified | Return to bug 11716
Collapse All | Expand All

(-)urlview-0.9.orig/urlview.c (-1 / +1 lines)
Lines 326-332 Link Here
326
	}
326
	}
327
	url[urlcount] = malloc (len + 1);
327
	url[urlcount] = malloc (len + 1);
328
	memcpy (url[urlcount], buf + match.rm_so + offset, len);
328
	memcpy (url[urlcount], buf + match.rm_so + offset, len);
329
	url[urlcount][len] = 0;
329
	url[urlcount][len-1] = 0;
330
	for (urlcheck=0; urlcheck < urlcount; urlcheck++)
330
	for (urlcheck=0; urlcheck < urlcount; urlcheck++)
331
	{
331
	{
332
	  if(strcasecmp(url[urlcount],url[urlcheck])==0)
332
	  if(strcasecmp(url[urlcount],url[urlcheck])==0)

Return to bug 11716