Calculate client nameqlen in client_setname(), the only place it's

needed/used.
This commit is contained in:
okan
2016-10-04 15:52:32 +00:00
parent 9306c1fbd3
commit 5c13775d31
3 changed files with 9 additions and 8 deletions

1
conf.c
View File

@@ -259,6 +259,7 @@ conf_init(struct conf *c)
c->mamount = 1;
c->snapdist = 0;
c->ngroups = 10;
c->nameqlen = 5;
TAILQ_INIT(&c->ignoreq);
TAILQ_INIT(&c->cmdq);