aboutsummaryrefslogtreecommitdiff
path: root/src/kex1.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/kex1.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/kex1.c')
-rw-r--r--src/kex1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kex1.c b/src/kex1.c
index 9e0794d2..10e6327d 100644
--- a/src/kex1.c
+++ b/src/kex1.c
@@ -443,7 +443,7 @@ SSH_PACKET_CALLBACK(ssh_packet_publickey1){
goto error;
}
session->session_state=SSH_SESSION_STATE_KEXINIT_RECEIVED;
- if (packet_send(session) == SSH_ERROR) {
+ if (ssh_packet_send(session) == SSH_ERROR) {
goto error;
}