fix(log): add missing LIBIPC_LOG() in get_info member function

- src/libipc/ipc.cpp:
  * Add LIBIPC_LOG() to chunk_storages::get_info() member function
  * This was missing, causing 'log' to be undeclared at line 245
  * The get_info() function uses log.error() for chunk storage errors

This completes the fix for all missing LIBIPC_LOG() initializations
in the ipc.cpp file.
This commit is contained in:
木头云 2025-12-15 11:33:17 +00:00
parent 73d59ba20e
commit 0f8bd3415c

View File

@ -230,6 +230,7 @@ auto& chunk_storages() {
public:
chunk_info_t *get_info(conn_info_head *inf, std::size_t chunk_size) {
LIBIPC_LOG();
std::string pref {(inf == nullptr) ? std::string{} : inf->prefix_};
std::string shm_name {ipc::make_prefix(pref, "CHUNK_INFO__", chunk_size)};
ipc::shm::handle *h;