[project @ 2004-03-05 17:08:28 by jmb]

Let's try again...

svn path=/import/netsurf/; revision=586
This commit is contained in:
John Mark Bell 2004-03-05 17:08:28 +00:00
parent a9e9def7f4
commit 4108f28975

View File

@ -837,17 +837,19 @@ void ro_msg_dataload(wimp_message *message)
while (i != 2) { while (i != 2) {
temp = fgets(url1, 256, fp); temp = fgets(url1, 256, fp);
if (!temp) { if (!temp) {
xfree(url1); i = 2;
return; break;
} }
temp = strip(url1); temp = strip(url1);
url = xstrdup(temp); url = xstrdup(temp);
xfree(url1);
if (url[0] != '#') { /* not a comment */ if (url[0] != '#') { /* not a comment */
i++; i++;
} }
} }
xfree(url1);
if (!temp) return;
} }
/* url file */ /* url file */