rem: if (fix_socket_list(&tcp_listen)!=0){
add: if (!tcp_disable && (fix_socket_list(&tcp_listen)!=0)){
context: int fix_all_socket_lists(){	struct utsname myname;		if ((udp_listen==0)#ifdef USE_TCP			&& (tcp_listen==0)#ifdef USE_TLS			&& (tls_listen==0)#endif#endif		){		/* get all listening ipv4 interfaces */		if (add_interfaces(0, AF_INET, 0,  PROTO_UDP, &udp_listen)==0){			/* if ok, try to add the others too */#ifdef USE_TCP			if (!tcp_disable){				if (add_interfaces(0, AF_INET, 0,  PROTO_TCP, &tcp_listen)!=0)					goto error;#ifdef USE_TLS				if (!tls_disable){					if (add_interfaces(0, AF_INET, 0, PROTO_TLS,								&tls_listen)!=0)					goto error;				}#endif			}#endif		}else{			/* if error fall back to get hostname */			/* get our address, only the first one */			if (uname (&myname) <0){				LOG(L_ERR, "ERROR: fix_all_socket_lists: cannot determine"						" hostname, try -l address\n");				goto error;			}			if (add_listen_iface(myname.nodename, 0, 0, 0)!=0){				LOG(L_ERR, "ERROR: fix_all_socket_lists: add_listen_iface "						"failed \n");				goto error;			}		}	}	if (fix_socket_list(&udp_listen)!=0){		LOG(L_ERR, "ERROR: fix_all_socket_lists: fix_socket_list"				" udp failed\n");		goto error;	}#ifdef USE_TCP	if (fix_socket_list(&tcp_listen)!=0){		LOG(L_ERR, "ERROR: fix_all_socket_lists: fix_socket_list"				" tcp failed\n");		goto error;	}#ifdef USE_TLS	if (fix_socket_list(&tls_listen)!=0){		LOG(L_ERR, "ERROR: fix_all_socket_lists: fix_socket_list"				" tls failed\n");		goto error;	}#endif#endif	if ((udp_listen==0)#ifdef USE_TCP			&& (tcp_listen==0)#ifdef USE_TLS			&& (tls_listen==0)#endif#endif		){		LOG(L_ERR, "ERROR: fix_all_socket_lists: no listening sockets\n");		goto error;	}	return 0;error:	return -1;}