| 37 | } |
| 38 | |
| 39 | bool ClientConnection::expired() const |
| 40 | { |
| 41 | struct timeval now; |
| 42 | |
| 43 | gettimeofday(&now, NULL); |
| 44 | long long present = ((acl_uint64) now.tv_sec) * 1000000 |
| 45 | + ((acl_uint64) now.tv_usec); |
| 46 | |
| 47 | return present >= expire_ ? true : false; |
| 48 | } |
no test coverage detected