]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Pass LogTags by-reference now its a class
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 11 Jun 2015 05:02:13 +0000 (22:02 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 11 Jun 2015 05:02:13 +0000 (22:02 -0700)
src/ICP.h
src/icp_v2.cc

index da41618dfe292606a4c2f293d434956f87aa59af..69b5de6772233368eb7a371b698fcc6027c79fba 100644 (file)
--- 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);
index 603871928ad880aa7bec5d343a7bfd968383b88e..4773c8fccdd7954f89a14e28f92c7306b8c27ef2 100644 (file)
@@ -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;