rem: if (hostent2su( &me, he, 0, htons(my_port))==-1)
add: if (hostent2su( &me, he, 0, my_port)==-1)
context: static int extcmd_init(void){	load_tm_f  load_tm;	struct hostent* he;	union sockaddr_union me;	DBG("EXTCMD - initializing\n");	/* import the TM auto-loading function */	if ( !(load_tm=(load_tm_f)find_export("load_tm", NO_SCRIPT, 0))) {		LOG(L_ERR, "ERROR: extcmd: global_init: cannot import load_tm\n");		goto error;	}	/* let the auto-loading function load all TM stuff */	if (load_tm( &tmb )==-1) 		goto error;	/* check the parametre */	if ( !my_address) {		LOG(L_ERR,"ERROR:extcmd_init: no address specified for listening!!\n");		goto error;	}	/* build a sockaddr_union for the listen socket */	he = resolvehost(my_address);	if (!he) {		LOG(L_ERR,"ERROR:extcmd_init: cannot solve \"%s\"!!\n",my_address);		goto error;	}	if (hostent2su( &me, he, 0, htons(my_port))==-1)		goto error;	/* create the socket server */	server_sock = socket( he->h_addrtype, SOCK_STREAM, 0);	if (server_sock<0) {		LOG(L_ERR,"ERROR:extcmd_init: cannot create server socket! %s\n",			strerror(errno));		goto error;	}	/* bind the socket! */	if (bind( server_sock, (struct sockaddr*)&me, sizeof(me) )==-1) {		LOG(L_ERR,"ERROR:extcmd_init: cannot bind to %s:%d! Reason=%s\n",			my_address, my_port, strerror(errno) );		goto error;	}	/* now, let's create the pipes for rpl and req */	if ( pipe(rpl_pipe)==-1 )  {		LOG(L_ERR,"ERROR:extcmd_init: cannot reply pipe! Reason=%s\n",			strerror(errno) );		goto error;	}	if ( pipe(req_pipe)==-1 )  {		LOG(L_ERR,"ERROR:extcmd_init: cannot request pipe! Reason=%s\n",			strerror(errno) );		goto error;	}	return 0;error:	return -1;}