From 7c3040c6246a91c4e4bcf7fd7e8d2a08032f74ae Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Wed, 7 Apr 2010 13:20:30 +0200 Subject: First experiment at trying to make libssh c89 --- include/libssh/session.h | 6 +++--- libssh/client.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/libssh/session.h b/include/libssh/session.h index 2fb91d14..bc421c45 100644 --- a/include/libssh/session.h +++ b/include/libssh/session.h @@ -70,10 +70,10 @@ struct ssh_session_struct { /* !=0 when the user got a session handle */ int alive; /* two previous are deprecated */ -// int auth_service_asked; + /* int auth_service_asked; */ /* socket status */ - int blocking; // functions should block + int blocking; /* functions should block */ ssh_string banner; /* that's the issue banner from the server */ @@ -91,7 +91,7 @@ struct ssh_session_struct { enum ssh_auth_service_state_e auth_service_state; enum ssh_auth_state_e auth_state; enum ssh_channel_request_state_e global_req_state; - ssh_string dh_server_signature; //information used by dh_handshake. + ssh_string dh_server_signature; /* information used by dh_handshake. */ KEX server_kex; KEX client_kex; ssh_buffer in_hashbuf; diff --git a/libssh/client.c b/libssh/client.c index 4f3e1eda..75a0f675 100644 --- a/libssh/client.c +++ b/libssh/client.c @@ -707,7 +707,7 @@ int ssh_connect(ssh_session session) { ret=ssh_socket_connect(session->socket, session->host, session->port, session->bindaddr); - //, session->timeout * 1000 + session->timeout_usec); + /*, session->timeout * 1000 + session->timeout_usec); */ } if (ret != SSH_OK) { leave_function(); -- cgit