Code cleanup
This commit is contained in:
parent
3e61fd0bce
commit
e167fbdb11
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user