From 1a4db21fe4e06f4a5e5b74e35027091370b54abb Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Thu, 4 Jun 2015 23:08:50 +0800 Subject: buf_getstring and buf_putstring now use non-unsigned char* --- cli-session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli-session.c') diff --git a/cli-session.c b/cli-session.c index 843c944..10244a7 100644 --- a/cli-session.c +++ b/cli-session.c @@ -194,7 +194,7 @@ static void send_msg_service_request(char* servicename) { CHECKCLEARTOWRITE(); buf_putbyte(ses.writepayload, SSH_MSG_SERVICE_REQUEST); - buf_putstring(ses.writepayload, (const unsigned char *)servicename, strlen(servicename)); + buf_putstring(ses.writepayload, servicename, strlen(servicename)); encrypt_packet(); TRACE(("leave send_msg_service_request")) -- cgit v1.2.3