Log hostname on insertion failure.

svn path=/trunk/netsurf/; revision=3000
This commit is contained in:
John Mark Bell 2006-10-12 14:10:18 +00:00
parent cda3154a92
commit fbc0ac49e6

View File

@ -355,8 +355,10 @@ void urldb_load(const char *filename)
}
h = urldb_add_host(host);
if (!h)
if (!h) {
LOG(("Failed adding host: '%s'", host));
die("Memory exhausted whilst loading URL file");
}
/* load the non-corrupt data */
for (i = 0; i < urls; i++) {