[pkg-fso-commits] [SCM] Automatic Display Manager branch, pamhelper, updated. debian/0.1-26-gff36fff

Enrico Zini enrico at enricozini.org
Thu Feb 19 12:09:25 UTC 2009


The following commit has been merged in the pamhelper branch:
commit 3939a77586c24a2e8a3804ed865153cc17eafc43
Author: Enrico Zini <enrico at enricozini.org>
Date:   Thu Feb 19 11:43:38 2009 +0000

    Compare properly

diff --git a/nodm.c b/nodm.c
index 8349878..3b2702c 100644
--- a/nodm.c
+++ b/nodm.c
@@ -307,7 +307,7 @@ void run_session()
 		end = time(NULL);
 
 		/* Check if the session was too short */
-		if (end - begin > mst)
+		if (end - begin < mst)
 		{
 			syslog (LOG_WARNING, "Session for %s was shorter than %d seconds: possible problems", name, mst);
 			if (retry_times[restart_count+1] != -1)

-- 
Automatic Display Manager



More information about the pkg-fso-commits mailing list