summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/urldb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/urldb.c b/content/urldb.c
index 89580d1c9..d2a5e22db 100644
--- a/content/urldb.c
+++ b/content/urldb.c
@@ -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++) {