[pan2: 13/68] Forgot trailing comma for newsrc output.



commit a095c308c00c59f49511556edb95f049930194e7
Author: K. Haley <haleykd users sf net>
Date:   Thu Dec 31 01:04:31 2009 -0700

    Forgot trailing comma for newsrc output.

 pan/usenet-utils/numbers.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pan/usenet-utils/numbers.cc b/pan/usenet-utils/numbers.cc
index 6e6d0b3..a521149 100644
--- a/pan/usenet-utils/numbers.cc
+++ b/pan/usenet-utils/numbers.cc
@@ -265,9 +265,9 @@ Numbers :: to_string (std::string & str) const
       Range r (*it);
 
       if (r.low == r.high)
-        g_snprintf (buf, sizeof(buf), "%"G_GUINT64_FORMAT, r.low);
+        g_snprintf (buf, sizeof(buf), "%"G_GUINT64_FORMAT",", r.low);
       else
-         g_snprintf (buf, sizeof(buf), "%"G_GUINT64_FORMAT"-%"G_GUINT64_FORMAT, r.low, r.high);
+         g_snprintf (buf, sizeof(buf), "%"G_GUINT64_FORMAT"-%"G_GUINT64_FORMAT",", r.low, r.high);
       str += buf;
    }
 



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