[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [metrics-web/master] Remember when we last warned about something.



commit d9726bc3ac813289874d5375019c8aeffb2ba004
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Fri Nov 11 07:45:00 2011 +0100

    Remember when we last warned about something.
---
 src/org/torproject/chc/StatusFileReport.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/org/torproject/chc/StatusFileReport.java b/src/org/torproject/chc/StatusFileReport.java
index 4bf1353..4aef195 100644
--- a/src/org/torproject/chc/StatusFileReport.java
+++ b/src/org/torproject/chc/StatusFileReport.java
@@ -150,6 +150,9 @@ public class StatusFileReport implements Report {
     if (newSb.length() > 0) {
       this.allWarnings = allSb.toString();
       this.newWarnings = newSb.toString();
+      for (String message : warningStrings.keySet()) {
+        this.lastWarned.put(message, now);
+      }
     }
   }
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits