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:
parent
a568b9cadc
commit
1d1208e335
6
cfg.c
6
cfg.c
@ -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);
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user