Skip to content
Snippets Groups Projects
Commit 1c2a1838 authored by Gaël PORTAY's avatar Gaël PORTAY
Browse files

Turn name and instruction local variables into char *

parent bfd730aa
Branches
Tags
No related merge requests found
...@@ -66,8 +66,8 @@ static char* get_response(char* prompt) ...@@ -66,8 +66,8 @@ static char* get_response(char* prompt)
void recv_msg_userauth_info_request() { void recv_msg_userauth_info_request() {
unsigned char *name = NULL; char *name = NULL;
unsigned char *instruction = NULL; char *instruction = NULL;
unsigned int num_prompts = 0; unsigned int num_prompts = 0;
unsigned int i; unsigned int i;
...@@ -84,8 +84,8 @@ void recv_msg_userauth_info_request() { ...@@ -84,8 +84,8 @@ void recv_msg_userauth_info_request() {
} }
cli_ses.interact_request_received = 1; cli_ses.interact_request_received = 1;
name = buf_getstring(ses.payload, NULL); name = (char *)buf_getstring(ses.payload, NULL);
instruction = buf_getstring(ses.payload, NULL); instruction = (char *)buf_getstring(ses.payload, NULL);
/* language tag */ /* language tag */
buf_eatstring(ses.payload); buf_eatstring(ses.payload);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment