summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/global_history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/global_history.c b/desktop/global_history.c
index 61735d98d..bfafe695e 100644
--- a/desktop/global_history.c
+++ b/desktop/global_history.c
@@ -357,7 +357,7 @@ static nserror global_history_add_entry_internal(nsurl *url, int slot,
/* Create new local history entry */
e = malloc(sizeof(struct global_history_entry));
if (e == NULL) {
- return false;
+ return NSERROR_NOMEM;
}
e->user_delete = false;