Commit a4f15166 authored by Niels Möller's avatar Niels Möller
Browse files

* src/unix_user.c (make_unix_user): Use NUL_TERMINATED macro.

Rev: src/unix_user.c:1.9
parent 034d85a4
......@@ -329,7 +329,7 @@ make_unix_user(struct lsh_string *name,
{
NEW(unix_user, user);
assert(name && !name->data[name->length]);
assert(name && NUL_TERMINATED(name));
user->super.name = name;
user->super.verify_password = do_verify_password;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment