From: Amos Jeffries Date: Thu, 11 Jun 2015 05:02:13 +0000 (-0700) Subject: Pass LogTags by-reference now its a class X-Git-Tag: merge-candidate-3-v1~38^2~18^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=678203f361f05d71002444b4a3de092da2c82681;p=thirdparty%2Fsquid.git Pass LogTags by-reference now its a class --- 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;