1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

Fix some char* -> char *.

This commit is contained in:
nicm 2015-04-25 18:49:01 +00:00
parent a568b9cadc
commit 1d1208e335
2 changed files with 11 additions and 11 deletions

6
cfg.c
View File

@ -30,7 +30,7 @@
struct cmd_q *cfg_cmd_q; struct cmd_q *cfg_cmd_q;
int cfg_finished; int cfg_finished;
int cfg_references; int cfg_references;
char** cfg_causes; char **cfg_causes;
u_int cfg_ncauses; u_int cfg_ncauses;
struct client *cfg_client; struct client *cfg_client;
@ -114,10 +114,10 @@ cfg_default_done(unused struct cmd_q *cmdq)
} }
void void
cfg_add_cause(const char* fmt, ...) cfg_add_cause(const char *fmt, ...)
{ {
va_list ap; va_list ap;
char* msg; char *msg;
va_start(ap, fmt); va_start(ap, fmt);
xvasprintf(&msg, fmt, ap); xvasprintf(&msg, fmt, ap);

View File

@ -144,7 +144,7 @@ key_bindings_remove_table(const char *name)
void void
key_bindings_init(void) key_bindings_init(void)
{ {
static const char* defaults[] = { static const char *defaults[] = {
"bind C-b send-prefix", "bind C-b send-prefix",
"bind C-o rotate-window", "bind C-o rotate-window",
"bind C-z suspend-client", "bind C-z suspend-client",
@ -225,7 +225,7 @@ key_bindings_init(void)
}; };
u_int i; u_int i;
struct cmd_list *cmdlist; struct cmd_list *cmdlist;
char* cause; char *cause;
int error; int error;
struct cmd_q *cmdq; struct cmd_q *cmdq;