From a399e5aa703420854175d14a62b6a8edb3ba0c18 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 25 Jul 2013 11:42:04 +0100 Subject: Fix return type. --- desktop/global_history.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3