along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: net_socket.c,v 1.1.2.33 2003/07/29 22:59:00 guus Exp $
+ $Id: net_socket.c,v 1.1.2.35 2003/12/12 19:52:25 guus Exp $
*/
#include "system.h"
nfd = socket(sa->sa.sa_family, SOCK_STREAM, IPPROTO_TCP);
if(nfd < 0) {
- logger(LOG_ERR, _("Creating metasocket failed: %s"), strerror(errno));
+ ifdebug(STATUS) logger(LOG_ERR, _("Creating metasocket failed: %s"), strerror(errno));
return -1;
}
goto begin;
}
- memcpy(&c->address, c->outgoing->aip->ai_addr,
- c->outgoing->aip->ai_addrlen);
+ memcpy(&c->address, c->outgoing->aip->ai_addr, c->outgoing->aip->ai_addrlen);
c->outgoing->aip = c->outgoing->aip->ai_next;
if(c->hostname)