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

*** empty log message ***

Rev: src/server_password.c:1.11
parent 8e1dca27
......@@ -50,10 +50,6 @@ struct unix_user *lookup_user(struct lsh_string *name, int free)
struct passwd *passwd;
struct spwd *shadowpwd=NULL;
NEW(unix_user, res);
name = make_cstring(name, free);
......@@ -78,6 +74,8 @@ struct unix_user *lookup_user(struct lsh_string *name, int free)
if (passwd->pw_passwd && !strcmp(passwd->pw_passwd, "x"))
struct spwd *shadowpwd;
if (!(shadowpwd = getspnam(name->data)))
Markdown is supported
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