Mercurial > dropbear
diff cli-session.c @ 1123:d7b752525b91
buf_getstring and buf_putstring now use non-unsigned char*
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 04 Jun 2015 23:08:50 +0800 |
parents | bb3a03feb31f |
children | 6aeadee3f16b |
line wrap: on
line diff
--- a/cli-session.c Thu Jun 04 22:25:28 2015 +0800 +++ b/cli-session.c Thu Jun 04 23:08:50 2015 +0800 @@ -194,7 +194,7 @@ 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"))