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 2020/06/12 00:57:27 UTC
[trafficserver] branch 9.0.x updated: Fix for Ubuntu 16 and Clang 5
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 16fc6ed Fix for Ubuntu 16 and Clang 5
16fc6ed is described below
commit 16fc6edeb552fb33913dd40825bc02b067fff0e2
Author: Bryan Call <bc...@apache.org>
AuthorDate: Tue Jun 9 16:04:58 2020 -0700
Fix for Ubuntu 16 and Clang 5
(cherry picked from commit 0fd49c414bd1ff6b7819d31fcd3dcb7cddf20a81)
---
src/tscore/ink_res_init.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/tscore/ink_res_init.cc b/src/tscore/ink_res_init.cc
index be4dccc..18bea6e 100644
--- a/src/tscore/ink_res_init.cc
+++ b/src/tscore/ink_res_init.cc
@@ -93,7 +93,8 @@
#define isascii(c) (!(c & 0200))
#endif
-HostResPreferenceOrder const HOST_RES_DEFAULT_PREFERENCE_ORDER = {HOST_RES_PREFER_IPV4, HOST_RES_PREFER_IPV6, HOST_RES_PREFER_NONE};
+HostResPreferenceOrder const HOST_RES_DEFAULT_PREFERENCE_ORDER = {
+ {HOST_RES_PREFER_IPV4, HOST_RES_PREFER_IPV6, HOST_RES_PREFER_NONE}};
HostResPreferenceOrder host_res_default_preference_order;