aboutsummaryrefslogtreecommitdiff
path: root/src/messages.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-10-08 20:26:29 +0200
committerAndreas Schneider <asn@cryptomilk.org>2012-10-12 08:07:01 +0200
commit9338fb8e5e98c019b395d4a5108733118761a951 (patch)
tree7e695ea8136d90d40c834541002861f4c5e3d851 /src/messages.c
parentec5b4d377f8b2c8d1b362db1761e0e049cc3a8c5 (diff)
downloadlibssh-9338fb8e5e98c019b395d4a5108733118761a951.tar.gz
libssh-9338fb8e5e98c019b395d4a5108733118761a951.tar.xz
libssh-9338fb8e5e98c019b395d4a5108733118761a951.zip
message: Set correct request type.
Found by Coverity.
Diffstat (limited to 'src/messages.c')
-rw-r--r--src/messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages.c b/src/messages.c
index 57ff5b12..5440a653 100644
--- a/src/messages.c
+++ b/src/messages.c
@@ -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();