summaryrefslogtreecommitdiff
path: root/acls.c
diff options
context:
space:
mode:
Diffstat (limited to 'acls.c')
-rw-r--r--acls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/acls.c b/acls.c
index 7521cc2..3b1669c 100644
--- a/acls.c
+++ b/acls.c
@@ -182,7 +182,7 @@ struct acluser **up;
#endif
(*up)->u_Esc = DefaultEsc;
(*up)->u_MetaEsc = DefaultMetaEsc;
- strncpy((*up)->u_name, name, 20);
+ strncpy((*up)->u_name, name, MAXLOGINLEN);
(*up)->u_password = NULL;
if (pass)
(*up)->u_password = SaveStr(pass);