diff options
author | Fabiano Fidêncio <fidencio@redhat.com> | 2015-09-17 14:11:08 +0200 |
---|---|---|
committer | Fabiano Fidêncio <fidencio@redhat.com> | 2015-10-12 13:56:21 +0200 |
commit | 8f8dab8d214eea91999cea8153408d8c2d855d12 (patch) | |
tree | 87ba7aafbc4f1f20161d1c3e349d0461a17aa50f /src/client.c | |
parent | 62fe4e426f08e0ba4c40c6b379e792883a4e6ae3 (diff) | |
download | libssh-8f8dab8d214eea91999cea8153408d8c2d855d12.tar.gz libssh-8f8dab8d214eea91999cea8153408d8c2d855d12.tar.xz libssh-8f8dab8d214eea91999cea8153408d8c2d855d12.zip |
cleanup: use ssh_ prefix in the packet (non-static) functions
Having "ssh_" prefix in the functions' name will avoid possible clashes
when compiling libssh statically.
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Diffstat (limited to 'src/client.c')
-rw-r--r-- | src/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.c b/src/client.c index 0c2b7e4f..0cca1102 100644 --- a/src/client.c +++ b/src/client.c @@ -283,7 +283,7 @@ int ssh_service_request(ssh_session session, const char *service) { return SSH_ERROR; } session->auth_service_state=SSH_AUTH_SERVICE_SENT; - if (packet_send(session) == SSH_ERROR) { + if (ssh_packet_send(session) == SSH_ERROR) { ssh_set_error(session, SSH_FATAL, "Sending SSH2_MSG_SERVICE_REQUEST failed."); return SSH_ERROR; @@ -643,7 +643,7 @@ void ssh_disconnect(ssh_session session) { goto error; } - packet_send(session); + ssh_packet_send(session); ssh_socket_close(session->socket); } error: |