aboutsummaryrefslogtreecommitdiff
path: root/src/messages.c
diff options
context:
space:
mode:
authorFabiano FidĂȘncio <fidencio@redhat.com>2015-09-17 14:11:08 +0200
committerFabiano FidĂȘncio <fidencio@redhat.com>2016-01-19 11:31:07 +0100
commite368d01385c2d1a6c729964befc11e80010693ba (patch)
treefb7a43cba42ab7c412d0279667200d272329cf41 /src/messages.c
parent310c41a89a91a44b4e63c19bc2f35e8b2d28827d (diff)
downloadlibssh-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/messages.c')
-rw-r--r--src/messages.c6
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,