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 /udpsend.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 'udpsend.c')
-rw-r--r-- | udpsend.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -50,7 +50,7 @@ static void udpsend_connect(t_udpsend *x, t_symbol *hostname, /* create a socket */ sockfd = socket(AF_INET, SOCK_DGRAM, 0); - DEBUG("udpsend_connect: send socket %d\n", sockfd); + DEBUG("send socket %d\n", sockfd); if (sockfd < 0) { sys_sockerror("udpsend: socket"); @@ -79,7 +79,7 @@ static void udpsend_connect(t_udpsend *x, t_symbol *hostname, /* assign client port number */ server.sin_port = htons((u_short)portno); - DEBUG("udpsend: connecting to port %d", portno); + DEBUG("connecting to port %d", portno); /* try to connect. */ if (connect(sockfd, (struct sockaddr *) &server, sizeof (server)) < 0) { |