summaryrefslogtreecommitdiffhomepage
path: root/cli-service.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-07-28 16:44:16 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-07-28 16:44:16 +0000
commit2d82f73484e588e9367657a25331afd4aa0bf976 (patch)
treeba72557d5adc76bb9bf156c5e54e29bcd66df9d2 /cli-service.c
parenta76b1ba06868c1743837a5267efcbf2e07c9d81d (diff)
Client mostly works up to password auth
Need to rework algo-choosing etc, since server is now broken. --HG-- extra : convert_revision : 458dc4eed0e885e7c91633d4781d3348213a0e19
Diffstat (limited to 'cli-service.c')
-rw-r--r--cli-service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli-service.c b/cli-service.c
index c873919..8ba06c6 100644
--- a/cli-service.c
+++ b/cli-service.c
@@ -12,8 +12,8 @@ void send_msg_service_request(char* servicename) {
CHECKCLEARTOWRITE();
- buf_putbyte(ses.payload, SSH_MSG_SERVICE_REQUEST);
- buf_putstring(ses.payload, servicename, strlen(servicename));
+ buf_putbyte(ses.writepayload, SSH_MSG_SERVICE_REQUEST);
+ buf_putstring(ses.writepayload, servicename, strlen(servicename));
encrypt_packet();
TRACE(("leave send_msg_service_request"));