libotutil: Fix mistaken return of TRUE in error path
Gah, must have been a refactoring bug.
This commit is contained in:
parent
1bdabda5f3
commit
d4d4ef552d
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue