diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-04-13 21:42:46 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-04-13 21:42:46 +0200 |
commit | 7dcda352a609d063098e238db09c03cdc25c564b (patch) | |
tree | 545a8c2f76af39cae406633c5bc181824ae076cc /src/gnome-ask-password-agent.vala | |
parent | d55f4f3f92f56f76bdd06192d6a2ef3ee9fe4772 (diff) |
ask-password: support passwords without timeouts
Diffstat (limited to 'src/gnome-ask-password-agent.vala')
-rw-r--r-- | src/gnome-ask-password-agent.vala | 2 |
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"); |