mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-30 13:01:23 +03:00
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>
This commit is contained in:
@@ -828,7 +828,7 @@ int ssh_send_ignore (ssh_session session, const char *data) {
|
||||
ssh_set_error_oom(session);
|
||||
goto error;
|
||||
}
|
||||
packet_send(session);
|
||||
ssh_packet_send(session);
|
||||
ssh_handle_packets(session, 0);
|
||||
}
|
||||
|
||||
@@ -864,7 +864,7 @@ int ssh_send_debug (ssh_session session, const char *message, int always_display
|
||||
ssh_set_error_oom(session);
|
||||
goto error;
|
||||
}
|
||||
packet_send(session);
|
||||
ssh_packet_send(session);
|
||||
ssh_handle_packets(session, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user