lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [4970] Clarify diagnostics


From: Greg Chicares
Subject: [lmi-commits] [4970] Clarify diagnostics
Date: Tue, 01 Jun 2010 20:04:36 +0000

Revision: 4970
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=4970
Author:   chicares
Date:     2010-06-01 20:04:35 +0000 (Tue, 01 Jun 2010)
Log Message:
-----------
Clarify diagnostics

Modified Paths:
--------------
    lmi/trunk/authenticity.cpp

Modified: lmi/trunk/authenticity.cpp
===================================================================
--- lmi/trunk/authenticity.cpp  2010-05-31 23:42:30 UTC (rev 4969)
+++ lmi/trunk/authenticity.cpp  2010-06-01 20:04:35 UTC (rev 4970)
@@ -183,22 +183,22 @@
     if(candidate < begin)
         {
         oss
-            << "Current date '"
+            << "Current date "
             << candidate.str()
-            << "' is invalid: this system cannot be used before '"
+            << " is invalid: this system cannot be used before "
             << begin.str()
-            << "'. Contact the home office."
+            << ". Contact the home office."
             ;
         return oss.str();
         }
     if(end <= candidate)
         {
         oss
-            << "Current date '"
+            << "Current date "
             << candidate.str()
-            << "' is invalid: this system expired on '"
-            << end.str()
-            << "'. Contact the home office."
+            << " is invalid: this system cannot be used after "
+            << (-1 + end).str()
+            << ". Contact the home office."
             ;
         return oss.str();
         }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]