diff options
Diffstat (limited to 'src/lbdatafactory.cc')
-rw-r--r-- | src/lbdatafactory.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |