message: Set correct request type.

Found by Coverity.
This commit is contained in:
Andreas Schneider
2012-10-08 20:26:29 +02:00
parent ec5b4d377f
commit 9338fb8e5e

View File

@@ -1198,7 +1198,7 @@ int ssh_message_handle_channel_request(ssh_session session, ssh_channel channel,
goto end;
}
msg->channel_request.type = SSH_CHANNEL_UNKNOWN;
msg->channel_request.type = SSH_CHANNEL_REQUEST_UNKNOWN;
end:
ssh_message_queue(session,msg);
leave_function();