Code cleanup

This commit is contained in:
Pierre Pronchery 2012-09-22 23:44:21 +00:00
parent 3e61fd0bce
commit e167fbdb11

View File

@ -401,7 +401,7 @@ static int _new_connect(AppClient * appclient, char const * app)
common_socket_set_nodelay(appclient->fd, 1);
if(connect(appclient->fd, (struct sockaddr *)&sa, sizeof(sa)) != 0)
return error_set_code(1, "%s%s%s", app, ": ", strerror(errno));
#if 1 /* def DEBUG */
#ifdef DEBUG
fprintf(stderr, "DEBUG: connect(%d, %s:%d) => 0\n", appclient->fd,
inet_ntoa(sa.sin_addr), ntohs(sa.sin_port));
#endif