* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <config.h>
#include <libtest/common.h>
#include <cassert>
if (getsockname(sd, (struct sockaddr *)&sin, &addrlen) != -1)
{
ret_port= sin.sin_port;
- Error << ret_port;
}
}
}
// We handle the case where if we max out retries, we still abort.
if (ret_port <= 1024)
{
- abort();
+ fatal_message("No port could be found");
}
return ret_port;