diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-04-05 09:18:29 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-04-05 09:18:29 +0000 |
commit | dbab7b5a181248144a536e776fa62b4c34ad6e01 (patch) | |
tree | a977285471a99173434729c41d8704726343ee12 /libssh/client.c | |
parent | b239fda60c8ca9fef6152d714c587fe1d45d89c9 (diff) | |
download | libssh-dbab7b5a181248144a536e776fa62b4c34ad6e01.tar.gz libssh-dbab7b5a181248144a536e776fa62b4c34ad6e01.tar.xz libssh-dbab7b5a181248144a536e776fa62b4c34ad6e01.zip |
Make service name const.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@392 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/client.c')
-rw-r--r-- | libssh/client.c | 2 |
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); |