mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
sftp: fix endianess issue
This commit is contained in:
@@ -449,6 +449,7 @@ static sftp_message sftp_get_message(sftp_packet packet) {
|
||||
sftp_message_free(msg);
|
||||
return NULL;
|
||||
}
|
||||
msg->id = ntohl(msg->id);
|
||||
|
||||
SSH_LOG(SSH_LOG_PACKET,
|
||||
"Packet with id %d type %d",
|
||||
|
||||
Reference in New Issue
Block a user