diff options
-rw-r--r-- | redfish-core/lib/log_services.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp index b69a8a54af..82d53d941a 100644 --- a/redfish-core/lib/log_services.hpp +++ b/redfish-core/lib/log_services.hpp @@ -3541,7 +3541,7 @@ inline static bool parsePostCode(const std::string& postCodeID, end = split[1].data() + split[1].size(); auto [ptrValue, ecValue] = std::from_chars(start, end, currentValue); - return ptrValue == end && ecValue != std::errc(); + return ptrValue == end && ecValue == std::errc(); } inline void requestRoutesPostCodesEntryAdditionalData(App& app) |