From a4351a045debf9f0450cf6cc8e1671094b21d19c Mon Sep 17 00:00:00 2001 From: "henrike@webrtc.org" Date: Tue, 14 Oct 2014 17:07:41 +0000 Subject: [PATCH] libjingle: use _stricmp instead of deprecated stricmp. BUG=N/A R=turaj@webrtc.org Review URL: https://webrtc-codereview.appspot.com/25869004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7447 4adac7df-926f-26a2-2b94-8c16560cd09d --- talk/p2p/base/transportdescription.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/talk/p2p/base/transportdescription.cc b/talk/p2p/base/transportdescription.cc index 2793d6c617..08460d7952 100644 --- a/talk/p2p/base/transportdescription.cc +++ b/talk/p2p/base/transportdescription.cc @@ -28,6 +28,7 @@ #include "talk/p2p/base/transportdescription.h" #include "talk/p2p/base/constants.h" +#include "webrtc/base/stringutils.h" namespace cricket { @@ -40,7 +41,7 @@ bool StringToConnectionRole(const std::string& role_str, ConnectionRole* role) { }; for (size_t i = 0; i < ARRAY_SIZE(roles); ++i) { - if (stricmp(roles[i], role_str.c_str()) == 0) { + if (_stricmp(roles[i], role_str.c_str()) == 0) { *role = static_cast(CONNECTIONROLE_ACTIVE + i); return true; } @@ -69,4 +70,3 @@ bool ConnectionRoleToString(const ConnectionRole& role, std::string* role_str) { } } // namespace cricket -