Provide explicit time checking for age of persistent DCBs.

This commit is contained in:
counterpoint
2015-06-03 16:47:02 +01:00
parent fe2f8e70d1
commit e395ab1442
3 changed files with 8 additions and 2 deletions

View File

@ -71,6 +71,10 @@ SERVER *server;
if ((server = (SERVER *)calloc(1, sizeof(SERVER))) == NULL)
return NULL;
#if defined(SS_DEBUG)
server->server_chk_top = CHK_NUM_SERVER;
server->server_chk_tail = CHK_NUM_SERVER;
#endif
server->name = strdup(servname);
server->protocol = strdup(protocol);
server->port = port;