summaryrefslogtreecommitdiff
path: root/src/gnome-ask-password-agent.vala
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-13 21:42:46 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-13 21:42:46 +0200
commit7dcda352a609d063098e238db09c03cdc25c564b (patch)
tree545a8c2f76af39cae406633c5bc181824ae076cc /src/gnome-ask-password-agent.vala
parentd55f4f3f92f56f76bdd06192d6a2ef3ee9fe4772 (diff)
ask-password: support passwords without timeouts
Diffstat (limited to 'src/gnome-ask-password-agent.vala')
-rw-r--r--src/gnome-ask-password-agent.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnome-ask-password-agent.vala b/src/gnome-ask-password-agent.vala
index 2bfc6a9c83..c31c07e3db 100644
--- a/src/gnome-ask-password-agent.vala
+++ b/src/gnome-ask-password-agent.vala
@@ -165,7 +165,7 @@ public class MyStatusIcon : StatusIcon {
if (not_after_as_string.scanf("%llu", out not_after) != 1)
return false;
- if (not_after < now)
+ if (not_after > 0 && not_after < now)
return false;
socket = key_file.get_string("Ask", "Socket");