[ostree] libotutil: Fix mistaken return of TRUE in error path



commit d4d4ef552d1a190926c3a4dc7e98877a6c7824a7
Author: Colin Walters <walters verbum org>
Date:   Tue Apr 8 18:15:52 2014 -0400

    libotutil: Fix mistaken return of TRUE in error path
    
    Gah, must have been a refactoring bug.

 src/libotutil/ot-gio-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libotutil/ot-gio-utils.c b/src/libotutil/ot-gio-utils.c
index 6acb66d..643939c 100644
--- a/src/libotutil/ot-gio-utils.c
+++ b/src/libotutil/ot-gio-utils.c
@@ -248,7 +248,7 @@ ot_gfile_load_contents_utf8_allow_noent (GFile          *path,
                                          GCancellable   *cancellable,
                                          GError        **error)
 {
-  gboolean ret = TRUE;
+  gboolean ret = FALSE;
   GError *temp_error = NULL;
   gs_free char *ret_contents = NULL;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]