Experimental code to recover from a half dead chatlink.

This commit is contained in:
Michiel Broek 2005-12-07 21:23:55 +00:00
parent 096e7b79b7
commit 5755781972

View File

@ -162,7 +162,7 @@ void dump_ncslist(void)
Syslog('r', "------------------------------ ------- --- --- --- --- --- -----------"); Syslog('r', "------------------------------ ------- --- --- --- --- --- -----------");
for (tmp = ncsl; tmp; tmp = tmp->next) { for (tmp = ncsl; tmp; tmp = tmp->next) {
snprintf(temp1, 30, "%s", tmp->server); snprintf(temp1, 30, "%s", tmp->server);
Syslog('r', "%-30s %-7s %s %s %s %s %3d, %d", temp1, ncsstate[tmp->state], Syslog('r', "%-30s %-7s %s %s %s %s %3d %d", temp1, ncsstate[tmp->state],
tmp->remove ? "yes":"no ", tmp->gotpass ? "yes":"no ", tmp->remove ? "yes":"no ", tmp->gotpass ? "yes":"no ",
tmp->gotserver ? "yes":"no ", tmp->dyndns ? "yes":"no ", tmp->gotserver ? "yes":"no ", tmp->dyndns ? "yes":"no ",
tmp->halfdead, (int)tmp->action - (int)now); tmp->halfdead, (int)tmp->action - (int)now);