diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2010-03-26 14:34:31 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2010-03-26 14:34:31 +0000 |
commit | 7e25ef1ca1526afe654b9ea34b3468805e91dcaf (patch) | |
tree | 1d70dc71a8c4f7c503b299182f4fd606f7c54d22 /tcpclient.c | |
parent | 5358fe5389ce5d6aa42dfc32dccbf1ef0ede3a1f (diff) |
proper use of DEBUG
use DEBUG() directly rather than "#ifdef DEBUG"
svn path=/trunk/externals/iem/iemnet/; revision=13283
Diffstat (limited to 'tcpclient.c')
-rw-r--r-- | tcpclient.c | 4 |
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"); |