diff svr-main.c @ 165:0cfba3034be5

Fixed DEBUG_TRACE macro so that we don't get semicolons left about the place
author Matt Johnston <matt@ucc.asn.au>
date Sun, 02 Jan 2005 20:25:56 +0000
parents 364a75cfebab
children c5d3ef11155f f4cf0415fec1
line wrap: on
line diff
--- a/svr-main.c	Sun Jan 02 17:08:27 2005 +0000
+++ b/svr-main.c	Sun Jan 02 20:25:56 2005 +0000
@@ -247,7 +247,7 @@
 			}
 
 			if (pipe(childpipe) < 0) {
-				TRACE(("error creating child pipe"));
+				TRACE(("error creating child pipe"))
 				close(childsock);
 				continue;
 			}
@@ -369,11 +369,11 @@
 	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,