commit 561ffcecea6f8d466c05719dfd06442a14c3e64f Author: Karsten Loesing karsten.loesing@gmx.net Date: Mon Jan 16 11:38:53 2012 +0100
Fix error message. --- src/org/torproject/doctor/StatusFileReport.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/org/torproject/doctor/StatusFileReport.java b/src/org/torproject/doctor/StatusFileReport.java index 18def6f..040a687 100644 --- a/src/org/torproject/doctor/StatusFileReport.java +++ b/src/org/torproject/doctor/StatusFileReport.java @@ -50,8 +50,9 @@ public class StatusFileReport { String line; while ((line = br.readLine()) != null) { if (!line.contains(": ")) { - System.err.println("Bad line in stats/chc-last-warned: '" - + line + "'. Ignoring this line."); + System.err.println("Bad line in " + + lastWarnedFile.getAbsolutePath() + ": '" + line + + "'. Ignoring this line."); continue; } long warnedMillis = Long.parseLong(line.substring(0,
tor-commits@lists.torproject.org