summaryrefslogtreecommitdiff
path: root/svr-main.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2007-02-16 14:42:08 +0000
committerMatt Johnston <matt@ucc.asn.au>2007-02-16 14:42:08 +0000
commitd2607cc80dbb4f251f7b1dd47f61b4604568d3a5 (patch)
tree90cd5a5a89b66f3ebcd55ba047d78159348fe27e /svr-main.c
parentccb927a9a2a3a5460225b7e59c6d2065d4a0f07c (diff)
downloaddropbear-d2607cc80dbb4f251f7b1dd47f61b4604568d3a5.tar.gz
Fix for -pedantic -ansi compilation, change // to /**/, plus some signedness
and trailing-comma-in-array issues
Diffstat (limited to 'svr-main.c')
-rw-r--r--svr-main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/svr-main.c b/svr-main.c
index ddf5445..616ddaf 100644
--- a/svr-main.c
+++ b/svr-main.c
@@ -125,8 +125,9 @@ void main_noinetd() {
int childsock;
int childpipe[2];
- // Note: commonsetup() must happen before we daemon()ise. Otherwise
- // daemon() will chdir("/"), and we won't be able to find local-dir hostkeys.
+ /* Note: commonsetup() must happen before we daemon()ise. Otherwise
+ daemon() will chdir("/"), and we won't be able to find local-dir
+ hostkeys. */
commonsetup();
/* fork */