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/messages.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/messages.c')
-rw-r--r-- | src/messages.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/messages.c b/src/messages.c index bd93b582..4149e282 100644 --- a/src/messages.c +++ b/src/messages.c @@ -86,7 +86,7 @@ static int ssh_message_reply_default(ssh_message msg) { if (ssh_buffer_add_u32(msg->session->out_buffer, htonl(msg->session->recv_seq-1)) < 0) goto error; - return packet_send(msg->session); + return ssh_packet_send(msg->session); error: return SSH_ERROR; } @@ -1138,7 +1138,7 @@ int ssh_message_channel_request_open_reply_accept_channel(ssh_message msg, ssh_c "Accepting a channel request_open for chan %d", chan->remote_channel); - rc = packet_send(session); + rc = ssh_packet_send(session); return rc; } @@ -1319,7 +1319,7 @@ int ssh_message_channel_request_reply_success(ssh_message msg) { return SSH_ERROR; } - return packet_send(msg->session); + return ssh_packet_send(msg->session); } SSH_LOG(SSH_LOG_PACKET, |