summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2008-02-11 14:51:21 -0500
committerWilliam Jon McCann <jmccann@redhat.com>2008-02-11 14:51:21 -0500
commite2fa0c66a6ef8dafa8b503d0b077deb17f3fc512 (patch)
tree80cd6c647a3342c5a32b41d49332fd7a90e731ee
parente0f13df14e4f7289c35ebb376eaf7e1ffb2a2317 (diff)
don't set the session-type to the command name
-rw-r--r--tools/ck-collect-session-info.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/ck-collect-session-info.c b/tools/ck-collect-session-info.c
index 45abb07..334c088 100644
--- a/tools/ck-collect-session-info.c
+++ b/tools/ck-collect-session-info.c
@@ -42,7 +42,6 @@ typedef struct {
char *x11_display;
gboolean x11_can_connect;
char *remote_host_name;
- char *session_type;
gboolean is_local;
gboolean is_local_is_set;
} SessionInfo;
@@ -54,7 +53,6 @@ session_info_free (SessionInfo *si)
g_free (si->x11_display_device);
g_free (si->x11_display);
g_free (si->remote_host_name);
- g_free (si->session_type);
g_free (si);
}
@@ -300,7 +298,6 @@ fill_session_info (SessionInfo *si)
}
si->display_device = ck_process_stat_get_tty (stat);
- si->session_type = ck_process_stat_get_cmd (stat);
ck_process_stat_free (stat);
fill_x11_info (si);
@@ -328,9 +325,6 @@ print_session_info (SessionInfo *si)
if (si->display_device != NULL) {
printf ("display-device = %s\n", si->display_device);
}
- if (si->session_type != NULL) {
- printf ("session-type = %s\n", si->session_type);
- }
if (si->remote_host_name != NULL) {
printf ("remote-host-name = %s\n", si->remote_host_name);
}