From 678203f361f05d71002444b4a3de092da2c82681 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Wed, 10 Jun 2015 22:02:13 -0700 Subject: [PATCH] Pass LogTags by-reference now its a class --- src/ICP.h | 2 +- src/icp_v2.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ICP.h b/src/ICP.h index da41618dfe..69b5de6772 100644 --- a/src/ICP.h +++ b/src/ICP.h @@ -123,7 +123,7 @@ void icpCreateAndSend(icp_opcode, int flags, char const *url, int reqnum, int pa icp_opcode icpGetCommonOpcode(); /// \ingroup ServerProtocolICPAPI -int icpUdpSend(int, const Ip::Address &, icp_common_t *, LogTags, int); +int icpUdpSend(int, const Ip::Address &, icp_common_t *, const LogTags &, int); /// \ingroup ServerProtocolICPAPI LogTags icpLogFromICPCode(icp_opcode opcode); diff --git a/src/icp_v2.cc b/src/icp_v2.cc index 603871928a..4773c8fccd 100644 --- a/src/icp_v2.cc +++ b/src/icp_v2.cc @@ -278,7 +278,7 @@ int icpUdpSend(int fd, const Ip::Address &to, icp_common_t * msg, - LogTags logcode, + const LogTags &logcode, int delay) { icpUdpData *queue; -- 2.47.2