[gdm] gdmflexiserver: s/ret/res/



commit bb471032cf12faff7e23d784b6d378e7a028868d
Author: Ray Strode <rstrode redhat com>
Date:   Mon Aug 8 10:35:31 2011 -0400

    gdmflexiserver: s/ret/res/
    
    In commit 0e6f294c34 I picked the wrong
    variable name for storing intermediate results.
    
    This broke flexiserver.  Spotted by
    Christiaan Welvaart <cjw daneel dyndns org>

 utils/gdmflexiserver.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/utils/gdmflexiserver.c b/utils/gdmflexiserver.c
index 7f33f98..f7fac33 100644
--- a/utils/gdmflexiserver.c
+++ b/utils/gdmflexiserver.c
@@ -676,9 +676,9 @@ goto_login_session (GError **error)
                 return FALSE;
         }
 
-        ret = get_login_window_session_id (connection, seat_id, &session_id);
+        res = get_login_window_session_id (connection, seat_id, &session_id);
 
-        if (! ret) {
+        if (! res) {
                 g_set_error (error, GDM_FLEXISERVER_ERROR, 1, _("User unable to switch sessions."));
                 return FALSE;
         }



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