diff options
Diffstat (limited to 'source3/lib/util_pwdb.c')
-rw-r--r-- | source3/lib/util_pwdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_pwdb.c b/source3/lib/util_pwdb.c index a2e1ac010d..6a37f1bf74 100644 --- a/source3/lib/util_pwdb.c +++ b/source3/lib/util_pwdb.c @@ -318,7 +318,7 @@ static time_t get_time_from_string(const char *p) time_t pwdb_get_last_set_time(const char *p) { - if (*p && StrnCaseCmp(p, "LCT-", 4)) + if (*p && !StrnCaseCmp(p, "LCT-", 4)) { return get_time_from_string(p + 4); } |