summaryrefslogtreecommitdiff
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
commit3d51fc3f20cef302869c7bedb868ac58df962aa0 (patch)
tree3680041dbbb983431d917652be96d2879f1f6820 /svr-main.c
parentdeba8522616bc4e62229b818a6721f967714009a (diff)
downloaddropbear-3d51fc3f20cef302869c7bedb868ac58df962aa0.tar.gz
Fixed DEBUG_TRACE macro so that we don't get semicolons left about the place
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,