trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sor...@apache.org
Subject [trafficserver] 02/02: TS-4498: Log plugin remap error message.
Date Wed, 02 Nov 2016 16:47:21 GMT
This is an automated email from the ASF dual-hosted git repository.

sorber pushed a commit to branch 6.2.x
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

commit 9cc83482e3c4e2cbd21d14280e9c8e296ca2679f
Author: Peter Chou <pbchou@labs.att.com>
AuthorDate: Wed Sep 14 13:36:16 2016 -0700

    TS-4498: Log plugin remap error message.
    
    Ran clang-format [6.2.x] produced different results than [7.0.x].
---
 proxy/http/remap/RemapConfig.cc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/proxy/http/remap/RemapConfig.cc b/proxy/http/remap/RemapConfig.cc
index 06ac82e..fd50297 100644
--- a/proxy/http/remap/RemapConfig.cc
+++ b/proxy/http/remap/RemapConfig.cc
@@ -868,8 +868,7 @@ remap_load_plugin(const char **argv, int argc, url_mapping *mp, char *errbuf,
in
   ats_free(parv[1]); // toURL
 
   if (res != TS_SUCCESS) {
-    snprintf(errbuf, errbufsize, "Failed to create instance for plugin \"%s\": %s", c,
-             tmpbuf[0] ? tmpbuf : "Unknown plugin error");
+    snprintf(errbuf, errbufsize, "Failed to create instance for plugin \"%s\": %s", c, tmpbuf[0]
? tmpbuf : "Unknown plugin error");
     return -8;
   }
 

-- 
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>.

Mime
View raw message