mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 20:30:38 +09:00
sftp.c: Reformat sftp limits API accoding to the current coding style
Signed-off-by: Eshan Kelkar <eshankelkar@galorithm.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
committed by
Jakub Jelen
parent
63ee84862b
commit
5ea247df8e
@@ -2523,8 +2523,7 @@ void sftp_statvfs_free(sftp_statvfs_t statvfs) {
|
||||
SAFE_FREE(statvfs);
|
||||
}
|
||||
|
||||
static sftp_limits_t
|
||||
sftp_parse_limits(sftp_session sftp, ssh_buffer buf)
|
||||
static sftp_limits_t sftp_parse_limits(sftp_session sftp, ssh_buffer buf)
|
||||
{
|
||||
sftp_limits_t limits = NULL;
|
||||
int rc;
|
||||
@@ -2552,8 +2551,7 @@ sftp_parse_limits(sftp_session sftp, ssh_buffer buf)
|
||||
return limits;
|
||||
}
|
||||
|
||||
sftp_limits_t
|
||||
sftp_limits(sftp_session sftp)
|
||||
sftp_limits_t sftp_limits(sftp_session sftp)
|
||||
{
|
||||
sftp_status_message status = NULL;
|
||||
sftp_message msg = NULL;
|
||||
@@ -2629,8 +2627,7 @@ sftp_limits(sftp_session sftp)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void
|
||||
sftp_limits_free(sftp_limits_t limits)
|
||||
void sftp_limits_free(sftp_limits_t limits)
|
||||
{
|
||||
if (limits == NULL) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user