From aa36ec488525bfbff2c4d5652d45e1100c2aeccb Mon Sep 17 00:00:00 2001 From: niuhui Date: Sun, 23 Apr 2023 15:04:02 +0800 Subject: [PATCH] code check fix Signed-off-by: niuhui --- .../distributed_audio/mfc_test/distributedaudiotest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hdf_service/distributed_audio/mfc_test/distributedaudiotest.cpp b/hdf_service/distributed_audio/mfc_test/distributedaudiotest.cpp index cdfb9f09..de2c7306 100644 --- a/hdf_service/distributed_audio/mfc_test/distributedaudiotest.cpp +++ b/hdf_service/distributed_audio/mfc_test/distributedaudiotest.cpp @@ -29,8 +29,8 @@ #include "unistd.h" #include "distributedaudiotest.h" -const std::string SERVER_FIFO = "/data/seqnum_sv"; -const std::string CLIENT_FIFO_TEMPLATE = "/data/seqnum_sv"; +static const std::string SERVER_FIFO = "/data/seqnum_sv"; +static const std::string CLIENT_FIFO_TEMPLATE = "/data/seqnum_cl.%ld"; const size_t CLIENT_FIFO_NAME_LEN = (sizeof(CLIENT_FIFO_TEMPLATE) + 20); struct Request { @@ -712,4 +712,4 @@ int main(int argc, char *argv[]) resp.seqNum = seqNum; seqNum += req.seqLen; /* Update our sequence number */ } -} \ No newline at end of file +} -- Gitee