diff options
author | Gaël PORTAY <gael.portay@gmail.com> | 2015-05-03 00:23:55 +0200 |
---|---|---|
committer | Gaël PORTAY <gael.portay@gmail.com> | 2015-05-05 20:39:14 +0200 |
commit | 1c2a1838fc781dc0be8d3a76606281b4bbd7a57a (patch) | |
tree | 37b3c1df35445ee33f2c701208e48340389c1490 /cli-authinteract.c | |
parent | bfd730aa4c2a1c3d7bc46dd4a870a5fea3e91da8 (diff) |
Turn name and instruction local variables into char *
Diffstat (limited to 'cli-authinteract.c')
-rw-r--r-- | cli-authinteract.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli-authinteract.c b/cli-authinteract.c index a7987eb..02aeab8 100644 --- a/cli-authinteract.c +++ b/cli-authinteract.c @@ -66,8 +66,8 @@ static char* get_response(char* prompt) void recv_msg_userauth_info_request() { - unsigned char *name = NULL; - unsigned char *instruction = NULL; + char *name = NULL; + char *instruction = NULL; unsigned int num_prompts = 0; unsigned int i; @@ -84,8 +84,8 @@ void recv_msg_userauth_info_request() { } cli_ses.interact_request_received = 1; - name = buf_getstring(ses.payload, NULL); - instruction = buf_getstring(ses.payload, NULL); + name = (char *)buf_getstring(ses.payload, NULL); + instruction = (char *)buf_getstring(ses.payload, NULL); /* language tag */ buf_eatstring(ses.payload); |