summary refs log tree commit diff
path: root/conf.c
diff options
context:
space:
mode:
authorokan <okan>2016-10-04 15:52:32 +0000
committerokan <okan>2016-10-04 15:52:32 +0000
commit5c13775d31ce277bba94c68daff12cf50224aba0 (patch)
tree210c8ac83b54ec23d1b2e0d6917ca7d7cf1d416a /conf.c
parent9306c1fbd3e491b9dcdcbb8587460296843a10ce (diff)
downloadcwm-5c13775d31ce277bba94c68daff12cf50224aba0.tar.gz
cwm-5c13775d31ce277bba94c68daff12cf50224aba0.tar.xz
cwm-5c13775d31ce277bba94c68daff12cf50224aba0.zip
Calculate client nameqlen in client_setname(), the only place it's
needed/used.
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c1
1 files changed, 1 insertions, 0 deletions
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);