diff options
author | Andreas Schneider <asn@cynapses.org> | 2010-08-10 00:32:51 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cynapses.org> | 2010-08-10 00:32:51 +0200 |
commit | 5aa4592f0c3e7974c37d4baf5c72958a70e9f136 (patch) | |
tree | 0f394949d092ed2304eaef2b1fd8c888cae0bb42 /examples/samplesshd.c | |
parent | 855b73de8745adfef145dba0b07ab37dcb83c142 (diff) | |
download | libssh-5aa4592f0c3e7974c37d4baf5c72958a70e9f136.tar.gz libssh-5aa4592f0c3e7974c37d4baf5c72958a70e9f136.tar.xz libssh-5aa4592f0c3e7974c37d4baf5c72958a70e9f136.zip |
example: Fixed build of samplesshd.
Diffstat (limited to 'examples/samplesshd.c')
-rw-r--r-- | examples/samplesshd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/samplesshd.c b/examples/samplesshd.c index 6f540c7d..52ab7b9e 100644 --- a/examples/samplesshd.c +++ b/examples/samplesshd.c @@ -205,8 +205,8 @@ int main(int argc, char **argv){ printf("error accepting a connection : %s\n",ssh_get_error(sshbind)); return 1; } - if (ssh_bind_accept(session)) { - printf("ssh_bind_accept: %s\n", ssh_get_error(session)); + if (ssh_handle_key_exchange(session)) { + printf("ssh_handle_key_exchange: %s\n", ssh_get_error(session)); return 1; } do { |