write(fd, &keyid, sizeof(keyid));
}
break;
case KEYD_CMD_KEYITER:
cmd = KEYD_REPLY_OK;
write(fd, &cmd, sizeof(cmd));
write(fd, &keyid, sizeof(keyid));
}
break;
case KEYD_CMD_KEYITER:
cmd = KEYD_REPLY_OK;
write(fd, &cmd, sizeof(cmd));
logthing(LOGTHING_NOTICE, "Accepting connections.");
while (!cleanup() && select(fd + 1, &rfds, NULL, NULL, NULL) != -1) {
logthing(LOGTHING_NOTICE, "Accepting connections.");
while (!cleanup() && select(fd + 1, &rfds, NULL, NULL, NULL) != -1) {