diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-07-25 11:42:04 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-07-25 11:42:04 +0100 |
commit | a399e5aa703420854175d14a62b6a8edb3ba0c18 (patch) | |
tree | 539ccabcbf89ae2cb7169d9d375ea5f6e8806231 /desktop/global_history.c | |
parent | a4b5a8aed72aa8424749d905774056c761414150 (diff) | |
download | netsurf-a399e5aa703420854175d14a62b6a8edb3ba0c18.tar.gz netsurf-a399e5aa703420854175d14a62b6a8edb3ba0c18.tar.bz2 |
Fix return type.
Diffstat (limited to 'desktop/global_history.c')
-rw-r--r-- | desktop/global_history.c | 2 |
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; |