libotutil: Fix mistaken return of TRUE in error path

Gah, must have been a refactoring bug.
This commit is contained in:
Colin Walters 2014-04-08 18:15:52 -04:00
parent 1bdabda5f3
commit d4d4ef552d
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ ot_gfile_load_contents_utf8_allow_noent (GFile *path,
GCancellable *cancellable, GCancellable *cancellable,
GError **error) GError **error)
{ {
gboolean ret = TRUE; gboolean ret = FALSE;
GError *temp_error = NULL; GError *temp_error = NULL;
gs_free char *ret_contents = NULL; gs_free char *ret_contents = NULL;