bool server_startup(server_startup_st& construct, const std::string& server_type, in_port_t try_port, int argc, const char *argv[])
{
Outn();
- (void)try_port;
+ if (try_port <= 0)
+ {
+ libtest::fatal(LIBYATL_DEFAULT_PARAM, "was passed the invalid port number %d", int(try_port));
+ }
libtest::Server *server= NULL;
if (0)