From 5c13775d31ce277bba94c68daff12cf50224aba0 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 4 Oct 2016 15:52:32 +0000 Subject: Calculate client nameqlen in client_setname(), the only place it's needed/used. --- conf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'conf.c') diff --git a/conf.c b/conf.c index 478768d..974388c 100644 --- a/conf.c +++ b/conf.c @@ -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); -- cgit 1.4.1