mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 10:40:27 +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);
|
sftp_message_free(msg);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
msg->id = ntohl(msg->id);
|
||||||
|
|
||||||
SSH_LOG(SSH_LOG_PACKET,
|
SSH_LOG(SSH_LOG_PACKET,
|
||||||
"Packet with id %d type %d",
|
"Packet with id %d type %d",
|
||||||
|
|||||||
Reference in New Issue
Block a user