summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/gdmflexiserver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/gdmflexiserver.c b/utils/gdmflexiserver.c
index 7f33f980..f7fac337 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;
}