[gnome-software] trivial: Fix a return value



commit 49d4f832f5aae5352f5ae74c4bff4b7b947477b7
Author: Kalev Lember <klember redhat com>
Date:   Thu Sep 8 15:10:27 2016 +0200

    trivial: Fix a return value

 src/plugins/gs-plugin-dummy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-dummy.c b/src/plugins/gs-plugin-dummy.c
index cb353f4..76d8f22 100644
--- a/src/plugins/gs-plugin-dummy.c
+++ b/src/plugins/gs-plugin-dummy.c
@@ -737,7 +737,7 @@ gs_plugin_auth_logout (GsPlugin *plugin, GsAuth *auth,
 
        /* not logged in */
        if (!priv->has_auth)
-               TRUE;
+               return TRUE;
 
        priv->has_auth = FALSE;
        gs_auth_set_flags (priv->auth, 0);


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