From c29e5071bdb0dea46a7778f3a8a08692458f19f1 Mon Sep 17 00:00:00 2001
From: Marlowe <54339989+ZihanLiao@users.noreply.github.com>
Date: 星期五, 01 九月 2023 01:15:32 +0800
Subject: [PATCH] fix error:reference before assignment for write_flag when using kaldi_ark (#904)
---
funasr/runtime/websocket/funasr-wss-client.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/runtime/websocket/funasr-wss-client.cpp b/funasr/runtime/websocket/funasr-wss-client.cpp
index 1f4a274..cdc5c44 100644
--- a/funasr/runtime/websocket/funasr-wss-client.cpp
+++ b/funasr/runtime/websocket/funasr-wss-client.cpp
@@ -306,7 +306,7 @@
offset += send_block;
}
- LOG(INFO) << "sended data len=" << len;
+ LOG(INFO)<< "Thread: " << this_thread::get_id() << ", sended data len=" << len;
// The most likely error that we will get is that the connection is
// not in the right state. Usually this means we tried to send a
// message to a connection that was closed or in the process of
--
Gitblit v1.9.1