You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2015/07/15 03:58:47 UTC

trafficserver git commit: TS-2150: Fix the fix - make the string compator for the map correct.

Repository: trafficserver
Updated Branches:
  refs/heads/master b66742539 -> 44c90698a


TS-2150: Fix the fix - make the string compator for the map correct.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/44c90698
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/44c90698
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/44c90698

Branch: refs/heads/master
Commit: 44c90698a4dc155cd8f59fbd4e3090a32e4d7a8c
Parents: b667425
Author: Alan M. Carroll <am...@apache.org>
Authored: Tue Jul 14 20:58:29 2015 -0500
Committer: Alan M. Carroll <am...@apache.org>
Committed: Tue Jul 14 20:58:29 2015 -0500

----------------------------------------------------------------------
 proxy/logging/LogField.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/44c90698/proxy/logging/LogField.cc
----------------------------------------------------------------------
diff --git a/proxy/logging/LogField.cc b/proxy/logging/LogField.cc
index 339b5b2..eb90e8d 100644
--- a/proxy/logging/LogField.cc
+++ b/proxy/logging/LogField.cc
@@ -122,7 +122,7 @@ LogSlice::toStrOffset(int strlen, int *offset)
 namespace
 {
 struct cmp_str {
-  bool operator()(ts::ConstBuffer a, ts::ConstBuffer b) const { return ptr_len_casecmp(a._ptr, a._size, b._ptr, b._size) == 0; }
+  bool operator()(ts::ConstBuffer a, ts::ConstBuffer b) const { return ptr_len_casecmp(a._ptr, a._size, b._ptr, b._size) < 0; }
 };
 }