summaryrefslogtreecommitdiffstats
path: root/libssh/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/client.c')
-rw-r--r--libssh/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/client.c b/libssh/client.c
index eee7279..e64ae02 100644
--- a/libssh/client.c
+++ b/libssh/client.c
@@ -254,7 +254,7 @@ static int dh_handshake(SSH_SESSION *session){
return SSH_ERROR;
}
-int ssh_service_request(SSH_SESSION *session,char *service){
+int ssh_service_request(SSH_SESSION *session, const char *service) {
STRING *service_s;
enter_function();
buffer_add_u8(session->out_buffer,SSH2_MSG_SERVICE_REQUEST);