diff options
author | Tomas Mraz <tmraz@redhat.com> | 2014-08-06 14:57:14 +0200 |
---|---|---|
committer | Tomas Mraz <tmraz@redhat.com> | 2014-08-06 14:57:14 +0200 |
commit | c7799ae1a89528d3867db40721415194e8db82ac (patch) | |
tree | 17e9a2eae7181d7eead4f9c9eb06c78edcbfa668 | |
parent | 62481d9e5ca02698c555bbc95e7529a81785bd7f (diff) | |
download | libpwquality-c7799ae1a89528d3867db40721415194e8db82ac.tar.gz |
Oops... a typo.
-rw-r--r-- | src/check.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/check.c b/src/check.c index 7068958..b17ef2e 100644 --- a/src/check.c +++ b/src/check.c @@ -504,10 +504,10 @@ password_check(pwquality_settings_t *pwq, char *usermono = NULL; /* Sanitize the old and user values */ - if (old && *old = '\0') + if (old && *old == '\0') old = NULL; - if (user && *user = '\0') + if (user && *user == '\0') user = NULL; newmono = str_lower(x_strdup(new)); |