From 8f8dab8d214eea91999cea8153408d8c2d855d12 Mon Sep 17 00:00:00 2001 From: Fabiano FidĂȘncio Date: Thu, 17 Sep 2015 14:11:08 +0200 Subject: cleanup: use ssh_ prefix in the packet (non-static) functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Having "ssh_" prefix in the functions' name will avoid possible clashes when compiling libssh statically. Signed-off-by: Fabiano FidĂȘncio --- src/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client.c') 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: -- cgit