mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-08 18:44:28 +03:00
[project @ 2004-03-05 17:08:28 by jmb]
Let's try again... svn path=/import/netsurf/; revision=586
This commit is contained in:
parent
a9e9def7f4
commit
4108f28975
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user