mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 22:41:30 +03:00
Log hostname on insertion failure.
svn path=/trunk/netsurf/; revision=3000
This commit is contained in:
parent
cda3154a92
commit
fbc0ac49e6
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user