You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2017/10/06 15:18:01 UTC

[trafficserver] 02/02: Fix FreeBSD Build.

This is an automated email from the ASF dual-hosted git repository.

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

commit b98dddfa92657b42bdee6212b75262fd2290cd95
Author: Phil Sorber <so...@apache.org>
AuthorDate: Fri Oct 6 08:51:27 2017 -0600

    Fix FreeBSD Build.
---
 cmd/traffic_manager/MgmtHandlers.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/traffic_manager/MgmtHandlers.cc b/cmd/traffic_manager/MgmtHandlers.cc
index 891d02d..ef8172b 100644
--- a/cmd/traffic_manager/MgmtHandlers.cc
+++ b/cmd/traffic_manager/MgmtHandlers.cc
@@ -268,7 +268,7 @@ mgmt_synthetic_main(void *)
     } else {
       ink_thread thrId = ink_thread_create(synthetic_thread, (void *)&clientFD, 1);
 
-      if (thrId <= 0) {
+      if (!thrId) {
         mgmt_log(stderr, "[SyntheticHealthServer] Failed to create worker thread");
       }
     }

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