This is an automated email from the ASF dual-hosted git repository.

wkaras pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 2380286686 Fix Coverity issue CID 1518577 in TSVConnFd.cc. (#10750)
2380286686 is described below

commit 2380286686890791279472b60124a28ad8be9f13
Author: Walt Karas <[email protected]>
AuthorDate: Thu Nov 9 19:51:47 2023 -0500

    Fix Coverity issue CID 1518577 in TSVConnFd.cc. (#10750)
---
 tests/gold_tests/pluginTest/TSVConnFd/TSVConnFd.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/gold_tests/pluginTest/TSVConnFd/TSVConnFd.cc 
b/tests/gold_tests/pluginTest/TSVConnFd/TSVConnFd.cc
index 798fa376ee..f9765e7f5e 100644
--- a/tests/gold_tests/pluginTest/TSVConnFd/TSVConnFd.cc
+++ b/tests/gold_tests/pluginTest/TSVConnFd/TSVConnFd.cc
@@ -484,8 +484,8 @@ private:
   class _Send_recv : private Send_to_vconn, private Recv_from_vconn
   {
   public:
-    _Send_recv(TSVConn vconn_, std::shared_ptr<File_deleter> f_del, int 
n_groups_send, int n_group_bytes, bool allow_send_error,
-               int n_bytes_recv)
+    _Send_recv(TSVConn vconn_, std::shared_ptr<File_deleter> const &f_del, int 
n_groups_send, int n_group_bytes,
+               bool allow_send_error, int n_bytes_recv)
       : Send_to_vconn{vconn_, n_groups_send * n_group_bytes}, 
Recv_from_vconn(vconn_), _f_del{f_del}
     {
       Dbg(dbg_ctl, "n_groups_send=%d n_group_bytes=%d allow_send_error=%c, 
n_bytes_recv=%d inst=%p", n_groups_send, n_group_bytes,

Reply via email to