aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/session.h
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2019-11-05 14:07:36 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-11-18 11:59:01 +0100
commit77bd8ed4c0dd3526218184b983cdc2e4c5695abf (patch)
treed4420ed18eb6a042ab205aacb59764745f61f4d3 /include/libssh/session.h
parent39f6ba2dc93e2108bf829359bc2b2573b388d78b (diff)
downloadlibssh-77bd8ed4c0dd3526218184b983cdc2e4c5695abf.tar.gz
libssh-77bd8ed4c0dd3526218184b983cdc2e4c5695abf.tar.xz
libssh-77bd8ed4c0dd3526218184b983cdc2e4c5695abf.zip
session: Use ssh_packet_state_e instead of int
Use the enum type instead of int in the ssh_session_struct Fixes T194 Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/session.h')
-rw-r--r--include/libssh/session.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/session.h b/include/libssh/session.h
index 6558da46..af02237d 100644
--- a/include/libssh/session.h
+++ b/include/libssh/session.h
@@ -145,7 +145,7 @@ struct ssh_session_struct {
/* where it was before being interrupted */
enum ssh_pending_call_e pending_call_state;
enum ssh_session_state_e session_state;
- int packet_state;
+ enum ssh_packet_state_e packet_state;
enum ssh_dh_state_e dh_handshake_state;
enum ssh_channel_request_state_e global_req_state;
struct ssh_agent_state_struct *agent_state;