From e2fa0c66a6ef8dafa8b503d0b077deb17f3fc512 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Mon, 11 Feb 2008 14:51:21 -0500 Subject: don't set the session-type to the command name --- tools/ck-collect-session-info.c | 6 ------ 1 file changed, 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); } -- cgit