From 69a6a8a153b8c53de66bfb9c72a113bd42afa989 Mon Sep 17 00:00:00 2001 From: Ewald van Geffen Date: Sat, 11 Jun 2016 20:37:49 +0200 Subject: Base10 is the prefered system --- src/lbdatafactory.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lbdatafactory.cc b/src/lbdatafactory.cc index 6870737..682b0b4 100644 --- a/src/lbdatafactory.cc +++ b/src/lbdatafactory.cc @@ -276,7 +276,7 @@ void LBDataFactory::process_health_interface(const string &key, const string &value) { if (key == "success-ct") { - int num = strtoul(value.c_str(), NULL, 10000); + int num = strtoul(value.c_str(), NULL, 10); if (num > 0) { _health_iter->second._success_ct = num; } @@ -288,7 +288,7 @@ LBDataFactory::process_health_interface(const string &key, const string &value) } } else if (key == "failure-ct") { - int num = strtoul(value.c_str(), NULL, 10000); + int num = strtoul(value.c_str(), NULL, 10); if (num > 0) { _health_iter->second._failure_ct = num; } -- cgit v1.2.3