diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2014-11-22 08:56:40 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-11-22 08:56:40 +0300 |
commit | 81ca3923a29ea9b67f7291be23b210019546aa5f (patch) | |
tree | fcebf0d426665b4f06e01168f27cd8f9ab8c50d8 /accel-pppd/cli/cli.c | |
parent | 830c399cf126f6bf1e8dfa1ad919a3ce8e346c5d (diff) | |
download | accel-ppp-xebd-81ca3923a29ea9b67f7291be23b210019546aa5f.tar.gz accel-ppp-xebd-81ca3923a29ea9b67f7291be23b210019546aa5f.zip |
remove trailing whitespaces
Diffstat (limited to 'accel-pppd/cli/cli.c')
-rw-r--r-- | accel-pppd/cli/cli.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/accel-pppd/cli/cli.c b/accel-pppd/cli/cli.c index 8b5f516..7d44072 100644 --- a/accel-pppd/cli/cli.c +++ b/accel-pppd/cli/cli.c @@ -49,7 +49,7 @@ void __export cli_register_simple_cmd2( c = malloc(sizeof(*c)); memset(c, 0, sizeof(*c)); - + c->exec = exec; c->help = help; c->hdr_len = hdr_len; @@ -57,7 +57,7 @@ void __export cli_register_simple_cmd2( for (i = 0; i < hdr_len; i++) c->hdr[i] = va_arg(ap, char *); - + list_add_tail(&c->entry, &simple_cmd_list); va_end(ap); @@ -319,7 +319,7 @@ out_found: static void load_config(void) { const char *opt; - + if (conf_cli_passwd) _free(conf_cli_passwd); opt = conf_get_opt("cli", "password"); @@ -327,7 +327,7 @@ static void load_config(void) conf_cli_passwd = _strdup(opt); else conf_cli_passwd = NULL; - + if (conf_cli_prompt && conf_cli_prompt != def_cli_prompt) _free(conf_cli_prompt); opt = conf_get_opt("cli", "prompt"); |