diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-04-07 13:20:30 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-04-07 13:20:30 +0200 |
commit | 7c3040c6246a91c4e4bcf7fd7e8d2a08032f74ae (patch) | |
tree | 330422c64e11770404aba19610352e964274487a | |
parent | c584b55488493d1e04434109f73f9c8749be4fdc (diff) | |
download | libssh-7c3040c6246a91c4e4bcf7fd7e8d2a08032f74ae.tar.gz libssh-7c3040c6246a91c4e4bcf7fd7e8d2a08032f74ae.tar.xz libssh-7c3040c6246a91c4e4bcf7fd7e8d2a08032f74ae.zip |
First experiment at trying to make libssh c89
-rw-r--r-- | include/libssh/session.h | 6 | ||||
-rw-r--r-- | libssh/client.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/libssh/session.h b/include/libssh/session.h index 2fb91d1..bc421c4 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 4f3e1ed..75a0f67 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(); |