aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-08-09 21:28:16 +0200
committerAndreas Schneider <asn@cynapses.org>2010-08-09 21:28:47 +0200
commit39c9a6dfed3d55c0e7df2d71c2f7d690f9abae89 (patch)
tree0dc29bc8ff18caf1aa5f5c7d2504d0c2d3ed5c1a /examples
parent561df8d9a23bc3ba37b30a699be5247b83ecac24 (diff)
downloadlibssh-39c9a6dfed3d55c0e7df2d71c2f7d690f9abae89.tar.gz
libssh-39c9a6dfed3d55c0e7df2d71c2f7d690f9abae89.tar.xz
libssh-39c9a6dfed3d55c0e7df2d71c2f7d690f9abae89.zip
server: Merge ssh_bind_accept.
Diffstat (limited to 'examples')
-rw-r--r--examples/samplesshd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/samplesshd.c b/examples/samplesshd.c
index 758e08a..95ba6a8 100644
--- a/examples/samplesshd.c
+++ b/examples/samplesshd.c
@@ -210,10 +210,6 @@ 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));
- return 1;
- }
do {
message=ssh_message_get(session);
if(!message)