diff options
author | nicm <nicm> | 2017-04-18 15:44:17 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-04-18 15:44:17 +0000 |
commit | fb3c5efa503214b08cae72f89e73ed4eb1bf957c (patch) | |
tree | 6364cf5d1f9eb7c6bcdf473d5faf8389b295805a /format.c | |
parent | aace1ead1e711412e4be0287972a389248583ad6 (diff) |
Add a format for number of bytes writtent to client, useful for debugging.
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1154,6 +1154,7 @@ format_defaults_client(struct format_tree *ft, struct client *c) format_add_tv(ft, "client_created", &c->creation_time); format_add_tv(ft, "client_activity", &c->activity_time); + format_add(ft, "client_written", "%zu", tty->written); name = server_client_get_key_table(c); if (strcmp(c->keytable->name, name) == 0) |