aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
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)