The names are logged. Loging file descriptor values gets in the way
of regression testing, such as the smoke test that'll be committed
shortly.
void
player_accept(void *unused)
{
+ static int conn_cnt;
struct sockaddr *sap;
void *inaddr;
int s = player_socket;
stacksize = 100000
/* budget */ + MAX(WORLD_SZ() * sizeof(int) * 7,
/* power */ MAXNOC * sizeof(struct powstr));
- sprintf(buf, "Conn%d", ns);
+ sprintf(buf, "Conn%d", conn_cnt++);
empth_create(player_login, stacksize, 0, buf, np);
}
}