Loading src/responses.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -56,5 +56,5 @@ bool job_registration_response::store_to_buffer(std::vector<uint8_t>& buffer) { } std::string job_registration_response::to_string() const { return utils::error_code_to_string(m_error_code); return utils::strerror(m_error_code); } src/utils.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ uint64_t parse_size(const std::string& str){ return std::round(value*factor); } std::string error_code_to_string(int error_code) { std::string strerror(int error_code) { switch(error_code) { case NORNS_SUCCESS: Loading src/utils.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ namespace utils { uint64_t parse_size(const std::string& str); std::string error_code_to_string(int error_code); std::string strerror(int error_code); } // namespace utils Loading
src/responses.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -56,5 +56,5 @@ bool job_registration_response::store_to_buffer(std::vector<uint8_t>& buffer) { } std::string job_registration_response::to_string() const { return utils::error_code_to_string(m_error_code); return utils::strerror(m_error_code); }
src/utils.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ uint64_t parse_size(const std::string& str){ return std::round(value*factor); } std::string error_code_to_string(int error_code) { std::string strerror(int error_code) { switch(error_code) { case NORNS_SUCCESS: Loading
src/utils.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ namespace utils { uint64_t parse_size(const std::string& str); std::string error_code_to_string(int error_code); std::string strerror(int error_code); } // namespace utils