Mercurial > dropbear
diff main.c @ 5:bc6477a6c393
syntactical fixups - it compiles, but channel handling code requires fixing.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 01 Jun 2004 04:20:12 +0000 |
parents | fe6bca95afa7 |
children | 469950e86d0f |
line wrap: on
line diff
--- a/main.c Tue Jun 01 02:46:09 2004 +0000 +++ b/main.c Tue Jun 01 04:20:12 2004 +0000 @@ -62,8 +62,11 @@ struct sigaction sa_chld; + _dropbear_exit = svr_dropbear_exit; + _dropbear_log = svr_dropbear_log; + /* get commandline options */ - opts = getrunopts(argc, argv); + opts = svr_getopts(argc, argv); /* fork */ if (opts->forkbg) { @@ -239,7 +242,7 @@ dropbear_exit("Couldn't close socket"); } /* start the session */ - child_session(childsock, opts, childpipe[1], &remoteaddr); + svr_session(childsock, opts, childpipe[1], &remoteaddr); /* don't return */ assert(0); }