Fix return type.
This commit is contained in:
parent
a4b5a8aed7
commit
a399e5aa70
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue