From 5f58b1b0dec2aa5f8b7ad663332011e0dc0f499e Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Fri, 22 May 2020 14:34:16 +0200 Subject: [PATCH] Added "-" at the end of ipc --- sf-replay/src/main.cpp | 2 +- sf-writer/src/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sf-replay/src/main.cpp b/sf-replay/src/main.cpp index 39e432d..50adf21 100644 --- a/sf-replay/src/main.cpp +++ b/sf-replay/src/main.cpp @@ -116,7 +116,7 @@ int main (int argc, char *argv[]) { const auto start_pulse_id = (uint64_t) atoll(argv[5]); const auto stop_pulse_id = (uint64_t) atoll(argv[6]); - auto ipc_base = REPLAY_STREAM_IPC_URL + ipc_id; + auto ipc_base = REPLAY_STREAM_IPC_URL + ipc_id + "-"; stringstream ipc_stream; ipc_stream << ipc_base << (int)source_id; const auto ipc_address = ipc_stream.str(); diff --git a/sf-writer/src/main.cpp b/sf-writer/src/main.cpp index 718703e..0985e9b 100644 --- a/sf-writer/src/main.cpp +++ b/sf-writer/src/main.cpp @@ -94,7 +94,7 @@ int main (int argc, char *argv[]) auto ctx = zmq_ctx_new(); zmq_ctx_set (ctx, ZMQ_IO_THREADS, WRITER_ZMQ_IO_THREADS); - auto ipc_base = REPLAY_STREAM_IPC_URL + ipc_id; + auto ipc_base = REPLAY_STREAM_IPC_URL + ipc_id + "-"; thread replay_receive_thread(receive_replay, ctx, ipc_base, n_modules, ref(queue), start_pulse_id, stop_pulse_id);