Extended validation for CommonAPI Addresses
[profile/ivi/common-api-dbus-runtime.git] / src / CommonAPI / DBus / DBusAddressTranslator.cpp
index 9357510..a1c836e 100644 (file)
@@ -129,7 +129,7 @@ void DBusAddressTranslator::readConfigFile(std::ifstream& addressConfigFile) {
             }
             reset(serviceDetails);
             std::string newAddress = readLine.substr(1, readLineLength - 2);
-            if(checkValidCommonApiAddress(newAddress)) {
+            if (isValidCommonApiAddress(newAddress)) {
                 currentlyParsedCommonApiAddress = std::move(newAddress);
                 newAddressFound = commonApiAddressDetails.find(currentlyParsedCommonApiAddress) == commonApiAddressDetails.end();
             }