summaryrefslogtreecommitdiffhomepage
path: root/tcp-accept.c
diff options
context:
space:
mode:
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;
}