summaryrefslogtreecommitdiffhomepage
path: root/svr-main.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2005-01-02 20:25:56 +0000
committerMatt Johnston <matt@ucc.asn.au>2005-01-02 20:25:56 +0000
commit8c1a429c446d00ad2030814e9f3d7afccc08ddf8 (patch)
tree3680041dbbb983431d917652be96d2879f1f6820 /svr-main.c
parentb5bd8591e7bc35980370ffa5dbe74d9b137e75c7 (diff)
Fixed DEBUG_TRACE macro so that we don't get semicolons left about the place
--HG-- extra : convert_revision : d928bc851e32be7bd429bf7504b148c0e4bf7e2f
Diffstat (limited to 'svr-main.c')
-rw-r--r--svr-main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/svr-main.c b/svr-main.c
index 48e6042..e39f3d9 100644
--- a/svr-main.c
+++ b/svr-main.c
@@ -247,7 +247,7 @@ void main_noinetd() {
}
if (pipe(childpipe) < 0) {
- TRACE(("error creating child pipe"));
+ TRACE(("error creating child pipe"))
close(childsock);
continue;
}
@@ -369,11 +369,11 @@ static int listensockets(int *sock, int sockcount, int *maxfd) {
unsigned int sockpos = 0;
int nsock;
- TRACE(("listensockets: %d to try\n", svr_opts.portcount));
+ TRACE(("listensockets: %d to try\n", svr_opts.portcount))
for (i = 0; i < svr_opts.portcount; i++) {
- TRACE(("listening on '%s'", svr_opts.ports[i]));
+ TRACE(("listening on '%s'", svr_opts.ports[i]))
nsock = dropbear_listen(NULL, svr_opts.ports[i], &sock[sockpos],
sockcount - sockpos,