* attribute, value of 0 (epoch time) is used to indicate we have no
* information about their connection time.
*/
- time_t conn_time;
+ long long conn_time;
/* Count of messages in the 'tx' queue,
* and the server worker pool queue
#endif
bool readonly,
size_t nrequests_max,
- time_t timestamp)
+ long long timestamp)
{
virNetServerClientPtr client;
bool readonly;
unsigned int nrequests_max;
unsigned long long id;
- time_t timestamp;
+ long long timestamp;
if (virJSONValueObjectGetNumberInt(object, "auth", &auth) < 0) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
if (!virJSONValueObjectHasKey(object, "conn_time")) {
timestamp = 0;
} else {
- if (virJSONValueObjectGetNumberLong(object, "conn_time",
- (long long *) ×tamp) < 0) {
+ if (virJSONValueObjectGetNumberLong(object, "conn_time", ×tamp) < 0) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
_("Malformed conn_time field in JSON "
"state document"));