summaryrefslogtreecommitdiff
path: root/tcp-accept.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 /tcp-accept.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 'tcp-accept.c')
-rw-r--r--tcp-accept.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tcp-accept.c b/tcp-accept.c
index c143319..e75224e 100644
--- a/tcp-accept.c
+++ b/tcp-accept.c
@@ -87,7 +87,7 @@ int listen_tcpfwd(struct TCPListener* tcpinfo) {
int nsocks;
char* errstring = NULL;
- TRACE(("enter listen_tcpfwd"));
+ TRACE(("enter listen_tcpfwd"))
/* first we try to bind, so don't need to do so much cleanup on failure */
snprintf(portstring, sizeof(portstring), "%d", tcpinfo->listenport);
@@ -100,7 +100,7 @@ int listen_tcpfwd(struct TCPListener* tcpinfo) {
if (nsocks < 0) {
dropbear_log(LOG_INFO, "TCP forward failed: %s", errstring);
m_free(errstring);
- TRACE(("leave listen_tcpfwd: dropbear_listen failed"));
+ TRACE(("leave listen_tcpfwd: dropbear_listen failed"))
return DROPBEAR_FAILURE;
}
@@ -109,11 +109,11 @@ int listen_tcpfwd(struct TCPListener* tcpinfo) {
if (listener == NULL) {
m_free(tcpinfo);
- TRACE(("leave listen_tcpfwd: listener failed"));
+ TRACE(("leave listen_tcpfwd: listener failed"))
return DROPBEAR_FAILURE;
}
- TRACE(("leave listen_tcpfwd: success"));
+ TRACE(("leave listen_tcpfwd: success"))
return DROPBEAR_SUCCESS;
}