Fix return type.

This commit is contained in:
Michael Drake 2013-07-25 11:42:04 +01:00
parent a4b5a8aed7
commit a399e5aa70
1 changed files with 1 additions and 1 deletions

View File

@ -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;