From 7e25ef1ca1526afe654b9ea34b3468805e91dcaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Fri, 26 Mar 2010 14:34:31 +0000 Subject: proper use of DEBUG use DEBUG() directly rather than "#ifdef DEBUG" svn path=/trunk/externals/iem/iemnet/; revision=13283 --- tcpclient.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tcpclient.c') 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"); -- cgit v1.2.1