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

jacksontj pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  005ef61   TS-4534 Remove redundant comma-- to make the json 
actually valid (#715)
005ef61 is described below

commit 005ef6128cbdd915023221ef32f81d2dfa787d4f
Author: Thomas Jackson <[email protected]>
AuthorDate: Tue Jun 14 12:24:16 2016 -0700

    TS-4534 Remove redundant comma-- to make the json actually valid (#715)
    
    this closes #715
---
 iocore/hostdb/HostDB.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iocore/hostdb/HostDB.cc b/iocore/hostdb/HostDB.cc
index 7e70d16..72bf114 100644
--- a/iocore/hostdb/HostDB.cc
+++ b/iocore/hostdb/HostDB.cc
@@ -2540,7 +2540,7 @@ struct ShowHostDB : public ShowCont {
         CHECK_SHOW(show("\"%s\":\"%d\",", "port", r->data.srv.srv_port));
         CHECK_SHOW(show("\"%s\":\"%x\",", "key", r->data.srv.key));
       } else if (!r->is_srv) {
-        CHECK_SHOW(show("\"%s\":\"%s\",", "ip", ats_ip_ntop(r->ip(), b, sizeof 
b)));
+        CHECK_SHOW(show("\"%s\":\"%s\"", "ip", ats_ip_ntop(r->ip(), b, sizeof 
b)));
       }
       // Let's display the MD5.
       CHECK_SHOW(show("\"%s\":\"%0.16llx %0.8x %0.8x\"", "md5", r->md5_high, 
r->md5_low, r->md5_low_low));

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to