You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2018/01/18 23:35:36 UTC
[trafficserver] branch master updated: Makes it actually create a
Config object
This is an automated email from the ASF dual-hosted git repository.
zwoop 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 c9a23c2 Makes it actually create a Config object
c9a23c2 is described below
commit c9a23c2d6967390ee09d1da42f58aee8d85fef69
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Thu Jan 18 04:35:25 2018 -0700
Makes it actually create a Config object
---
plugins/tcpinfo/tcpinfo.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugins/tcpinfo/tcpinfo.cc b/plugins/tcpinfo/tcpinfo.cc
index 8d228bc..24e8ac4 100644
--- a/plugins/tcpinfo/tcpinfo.cc
+++ b/plugins/tcpinfo/tcpinfo.cc
@@ -40,6 +40,7 @@
#include "ts/ink_defs.h"
#include "ts/ParseRules.h"
+#include "ts/ink_std_compat.h"
#if defined(TCP_INFO) && defined(HAVE_STRUCT_TCP_INFO)
#define TCPI_PLUGIN_SUPPORTED 1
@@ -315,7 +316,7 @@ TSPluginInit(int argc, const char *argv[])
};
TSPluginRegistrationInfo info;
- std::unique_ptr<Config> config;
+ auto config = std::make_unique<Config>();
const char *filename = "tcpinfo";
TSCont cont;
unsigned int hooks = 0;
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].