diff --git a/plugins/sudoers/log_client.c b/plugins/sudoers/log_client.c index 5017f581d..849ecb6ad 100644 --- a/plugins/sudoers/log_client.c +++ b/plugins/sudoers/log_client.c @@ -917,9 +917,9 @@ fmt_info_messages(struct client_closure *closure, struct eventlog *evlog, fill_str("submithost", evlog->submithost); /* TODO - submituid */ fill_str("submituser", evlog->submituser); -// if (evlog->ttyname != NULL) { + if (evlog->ttyname != NULL) { fill_str("ttyname", evlog->ttyname); - // } + } /* Free unused structs. */ while (info_msgs_size > n)