version 1.71, 2015/06/10 12:56:04 |
version 1.72, 2015/06/14 10:07:44 |
|
|
*ptr = '\0'; |
*ptr = '\0'; |
format_add(ft, "host_short", "%s", host); |
format_add(ft, "host_short", "%s", host); |
} |
} |
|
format_add(ft, "pid", "%ld", (long) getpid()); |
|
|
return (ft); |
return (ft); |
} |
} |
|
|
if (ft->s == NULL) |
if (ft->s == NULL) |
ft->s = c->session; |
ft->s = c->session; |
|
|
|
format_add(ft, "client_pid", "%ld", (long) c->pid); |
format_add(ft, "client_height", "%u", c->tty.sy); |
format_add(ft, "client_height", "%u", c->tty.sy); |
format_add(ft, "client_width", "%u", c->tty.sx); |
format_add(ft, "client_width", "%u", c->tty.sx); |
if (c->tty.path != NULL) |
if (c->tty.path != NULL) |