summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2011-08-08 10:35:31 -0400
committerRay Strode <rstrode@redhat.com>2011-08-08 10:35:31 -0400
commitbb471032cf12faff7e23d784b6d378e7a028868d (patch)
tree0dca4264c7ba9651e86bea960fe379c30493759b /utils
parent977f5289a6969b5a31233bcfb4f998cdc42f53fa (diff)
downloadgdm-bb471032cf12faff7e23d784b6d378e7a028868d.tar.gz
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>
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;
}