diff options
author | Fabiano FidĂȘncio <fidencio@redhat.com> | 2015-09-17 14:11:08 +0200 |
---|---|---|
committer | Fabiano FidĂȘncio <fidencio@redhat.com> | 2016-01-19 11:31:07 +0100 |
commit | e368d01385c2d1a6c729964befc11e80010693ba (patch) | |
tree | fb7a43cba42ab7c412d0279667200d272329cf41 /src/client.c | |
parent | 310c41a89a91a44b4e63c19bc2f35e8b2d28827d (diff) | |
download | libssh-e368d01385c2d1a6c729964befc11e80010693ba.tar.gz libssh-e368d01385c2d1a6c729964befc11e80010693ba.tar.xz libssh-e368d01385c2d1a6c729964befc11e80010693ba.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>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
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: |