aboutsummaryrefslogtreecommitdiff
path: root/tcpclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcpclient.c')
-rw-r--r--tcpclient.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tcpclient.c b/tcpclient.c
index 1913c43..ef76863 100644
--- a/tcpclient.c
+++ b/tcpclient.c
@@ -86,9 +86,7 @@ static void *tcpclient_child_connect(void *w)
/* create a socket */
sockfd = socket(AF_INET, SOCK_STREAM, 0);
-#ifdef DEBUG
- post("%s: send socket %d\n", objName, sockfd);
-#endif
+ DEBUG("send socket %d\n", sockfd);
if (sockfd < 0)
{
sys_sockerror("tcpclient: socket");