summaryrefslogtreecommitdiff
path: root/common-session.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-06-04 23:08:50 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-06-04 23:08:50 +0800
commit6e3355f4c3a5b5e9a4ef33b02478fa6811870730 (patch)
tree4671c7337586ae813f7e5e9a5d67ae95ab747f61 /common-session.c
parentc0e5fca0bd82e13dce2eb4c64eaf85d427e33608 (diff)
downloaddropbear-6e3355f4c3a5b5e9a4ef33b02478fa6811870730.tar.gz
buf_getstring and buf_putstring now use non-unsigned char*
Diffstat (limited to 'common-session.c')
-rw-r--r--common-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common-session.c b/common-session.c
index b712f05..8ec7516 100644
--- a/common-session.c
+++ b/common-session.c
@@ -467,7 +467,7 @@ static void send_msg_keepalive() {
/* Some peers will reply with SSH_MSG_REQUEST_FAILURE,
some will reply with SSH_MSG_UNIMPLEMENTED, some will exit. */
buf_putbyte(ses.writepayload, SSH_MSG_GLOBAL_REQUEST);
- buf_putstring(ses.writepayload, (const unsigned char *) DROPBEAR_KEEPALIVE_STRING,
+ buf_putstring(ses.writepayload, DROPBEAR_KEEPALIVE_STRING,
strlen(DROPBEAR_KEEPALIVE_STRING));
}
buf_putbyte(ses.writepayload, 1); /* want_reply */