diff options
author | Andreas Schneider <asn@cynapses.org> | 2010-08-09 18:47:13 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cynapses.org> | 2010-08-09 20:54:43 +0200 |
commit | 561df8d9a23bc3ba37b30a699be5247b83ecac24 (patch) | |
tree | 87fce7f101b5f83674b73d5fd2cbf4eb60a2c57e /examples | |
parent | 48a20a61379999c4e4342c0cc23389e1a4c69449 (diff) | |
download | libssh-561df8d9a23bc3ba37b30a699be5247b83ecac24.tar.gz libssh-561df8d9a23bc3ba37b30a699be5247b83ecac24.tar.xz libssh-561df8d9a23bc3ba37b30a699be5247b83ecac24.zip |
server: Rename ssh_accept to ssh_bind_accept.
Diffstat (limited to 'examples')
-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 ecb23c2e..758e08a4 100644 --- a/examples/samplesshd.c +++ b/examples/samplesshd.c @@ -210,8 +210,8 @@ int main(int argc, char **argv){ printf("error accepting a connection : %s\n",ssh_get_error(sshbind)); return 1; } - if(ssh_accept(session)){ - printf("ssh_accept: %s\n",ssh_get_error(session)); + if (ssh_bind_accept(session)) { + printf("ssh_bind_accept: %s\n", ssh_get_error(session)); return 1; } do { |