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 2016/06/01 21:00:52 UTC

[trafficserver] 01/02: TS-4494: Replace ink_code_md5_stringify to ink_code_to_hex_str

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 debe409103f1b9abb227f34362f9b5cd3617976f
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Tue May 31 14:39:14 2016 -0700

    TS-4494: Replace ink_code_md5_stringify to ink_code_to_hex_str
    
    (cherry picked from commit 506153a775da116c4bab8817434b2ae9e0f0c6f6)
---
 proxy/http/HttpConnectionCount.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/proxy/http/HttpConnectionCount.h b/proxy/http/HttpConnectionCount.h
index 7256fcd..5b2e3c1 100644
--- a/proxy/http/HttpConnectionCount.h
+++ b/proxy/http/HttpConnectionCount.h
@@ -145,8 +145,8 @@ public:
       char addrbuf2[INET6_ADDRSTRLEN];
       char md5buf1[33];
       char md5buf2[33];
-      ink_code_md5_stringify(md5buf1, sizeof(md5buf1), reinterpret_cast<const char *>(a._hostname_hash.u8));
-      ink_code_md5_stringify(md5buf2, sizeof(md5buf2), reinterpret_cast<const char *>(b._hostname_hash.u8));
+      ink_code_to_hex_str(md5buf1, a._hostname_hash.u8);
+      ink_code_to_hex_str(md5buf2, b._hostname_hash.u8);
       Debug("conn_count", "Comparing hostname hash %s dest %s match method %d to hostname hash %s dest %s match method %d", md5buf1,
             ats_ip_nptop(&a._addr.sa, addrbuf1, sizeof(addrbuf1)), a._match_type, md5buf2,
             ats_ip_nptop(&b._addr.sa, addrbuf2, sizeof(addrbuf2)), b._match_type);

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