rsked/inetcheck.cc
/// Adjust the refresh time to some non-negative number of seconds.
/// * May throw std::invalid_argument
///
Adjust the refresh time to some non-negative number of seconds.
Adjust the refresh time to some non - negative number of seconds .
void Inet_checker::set_refresh_secs(time_t t)
{
    if (t > 0) {
        m_refresh_secs = t;
    } else {
        throw std::invalid_argument("Inet_checker: set refresh time < 0");
    }
}
void Inet_checker :: set_refresh_secs ( time_t t ) { if ( t > 0 ) { m_refresh_secs = t ; } else { throw std :: invalid_argument ( " " ) ; } }
Adjust the refresh time to some non-negative number of seconds.
Adjust the refresh time to some non - negative number of seconds .