trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject git commit: TS-1195: Solaris does not have memrchar
Date Mon, 28 May 2012 14:37:10 GMT
Updated Branches:
  refs/heads/master 5321ca4d5 -> 83a84cfef


TS-1195: Solaris does not have memrchar


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

Branch: refs/heads/master
Commit: 83a84cfef6188db596836138a0bc2bcb7213aae9
Parents: 5321ca4
Author: Alan M. Carroll <amc@network-geographics.com>
Authored: Mon May 28 09:27:02 2012 -0500
Committer: Alan M. Carroll <amc@network-geographics.com>
Committed: Mon May 28 09:27:02 2012 -0500

----------------------------------------------------------------------
 proxy/hdrs/MIME.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/83a84cfe/proxy/hdrs/MIME.cc
----------------------------------------------------------------------
diff --git a/proxy/hdrs/MIME.cc b/proxy/hdrs/MIME.cc
index 8ea7b93..9f0e8dc 100644
--- a/proxy/hdrs/MIME.cc
+++ b/proxy/hdrs/MIME.cc
@@ -2135,7 +2135,7 @@ MIMEField* MIMEHdr::get_host_port_values(
           host = b;
         }
       } else {
-        x = static_cast<char const*>(memrchr(b._ptr, ':', b._size));
+        x = static_cast<char const*>(memchr(b._ptr, ':', b._size));
         if (x) {
           host = b.splitOn(x);
           port = b;


Mime
View raw message