| 94 | } |
| 95 | |
| 96 | void |
| 97 | TimeMod::print(FILE *f) const |
| 98 | { |
| 99 | fprintf(f, "%s=%ld-%ld ", |
| 100 | // Have to cast because time_t can be 32 or 64 bits and the compiler |
| 101 | // will barf if format code doesn't match. |
| 102 | this->name(), static_cast<long>(start_time), static_cast<long>(end_time)); |
| 103 | } |
| 104 | bool |
| 105 | TimeMod::check(HttpRequestData *req) const |
| 106 | { |
no test coverage detected