Mercurial > dropbear
diff svr-main.c @ 290:94ee16f5b8a8
0.48 progress
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 09 Mar 2006 12:37:38 +0000 |
parents | 1f5ec029dfe8 |
children | 9d110777f345 7dad470ad4aa 0aaaf68e97dc |
line wrap: on
line diff
--- a/svr-main.c Wed Mar 08 15:46:24 2006 +0000 +++ b/svr-main.c Thu Mar 09 12:37:38 2006 +0000 @@ -1,7 +1,7 @@ /* * Dropbear - a SSH2 server * - * Copyright (c) 2002,2003 Matt Johnston + * Copyright (c) 2002-2006 Matt Johnston * All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy @@ -48,8 +48,6 @@ int main(int argc, char ** argv) #endif { - - _dropbear_exit = svr_dropbear_exit; _dropbear_log = svr_dropbear_log; @@ -139,7 +137,6 @@ commonsetup(); - /* should be done after syslog is working */ if (svr_opts.forkbg) { dropbear_log(LOG_INFO, "Running in background"); @@ -161,7 +158,6 @@ bzero(preauth_addrs, sizeof(preauth_addrs)); /* Set up the listening sockets */ - /* XXX XXX ports */ listensockcount = listensockets(listensocks, MAX_LISTEN_ADDR, &maxsock); if (listensockcount == 0) {