sftp: fix endianess issue

This commit is contained in:
Aris Adamantiadis
2015-02-11 21:35:02 +01:00
parent 2ccab05cba
commit e9ad0c3c69

View File

@@ -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",