From b3e91cdcd4b70cee2ed87ef5bc6d53119d074a57 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Sat, 26 Jul 2008 14:15:09 -0700 Subject: whack-a-mole: fix a syntax error missed when hand-applying the patch --- debian/patches-applied/007_modules_pam_unix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/patches-applied/007_modules_pam_unix') diff --git a/debian/patches-applied/007_modules_pam_unix b/debian/patches-applied/007_modules_pam_unix index 608eea06..708db65b 100644 --- a/debian/patches-applied/007_modules_pam_unix +++ b/debian/patches-applied/007_modules_pam_unix @@ -623,7 +623,7 @@ Index: pam.deb/modules/pam_unix/passverify.c && (curdays - spent->sp_lstchg > spent->sp_max + spent->sp_inact) - && (spent->sp_max != -1) && (spent->sp_inact != -1)) { + && (spent->sp_max != -1) && (spent->sp_max != 0) -+ && (spent->sp_inact != -1) && spent->sp_inact != 0)) ++ && (spent->sp_inact != -1) && (spent->sp_inact != 0)) + { *daysleft = (int)((spent->sp_lstchg + spent->sp_max) - curdays); D(("authtok expired")); -- cgit v1.2.3