Skip to content

Commit 0f8bd34

Browse files
committed
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.
1 parent 73d59ba commit 0f8bd34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libipc/ipc.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ auto& chunk_storages() {
230230

231231
public:
232232
chunk_info_t *get_info(conn_info_head *inf, std::size_t chunk_size) {
233+
LIBIPC_LOG();
233234
std::string pref {(inf == nullptr) ? std::string{} : inf->prefix_};
234235
std::string shm_name {ipc::make_prefix(pref, "CHUNK_INFO__", chunk_size)};
235236
ipc::shm::handle *h;

0 commit comments

Comments
 (0)