diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2013-01-24 23:55:06 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2013-01-24 23:55:06 +0400 |
commit | 433d988f0d81b833bf5654dc10d55722b426f8ec (patch) | |
tree | 9256b822b210c175526ed0b285903152ba87bbe6 /accel-pppd/cli | |
parent | 3beb2a573c05e579a9bebc0ca00764c76d6e9434 (diff) | |
download | accel-ppp-433d988f0d81b833bf5654dc10d55722b426f8ec.tar.gz accel-ppp-433d988f0d81b833bf5654dc10d55722b426f8ec.zip |
cli: show properly comp field
Diffstat (limited to 'accel-pppd/cli')
-rw-r--r-- | accel-pppd/cli/show_sessions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/cli/show_sessions.c b/accel-pppd/cli/show_sessions.c index 2140decd..5bfe09ba 100644 --- a/accel-pppd/cli/show_sessions.c +++ b/accel-pppd/cli/show_sessions.c @@ -454,6 +454,8 @@ static void print_comp(const struct ap_session *ses, char *buf) { if (ses->comp) snprintf(buf, CELL_SIZE, "%s", ses->comp); + else + buf[0] = 0; } static void init(void) |