aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/llmime.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llmessage/llmime.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/linden/indra/llmessage/llmime.cpp b/linden/indra/llmessage/llmime.cpp
index 48e73fb..2093255 100644
--- a/linden/indra/llmessage/llmime.cpp
+++ b/linden/indra/llmessage/llmime.cpp
@@ -439,9 +439,7 @@ bool LLMimeParser::Impl::parseHeaders(
439 std::string value(colon); 439 std::string value(colon);
440 for(S32 ii = 0; ii < KNOWN_HEADER_COUNT; ++ii) 440 for(S32 ii = 0; ii < KNOWN_HEADER_COUNT; ++ii)
441 { 441 {
442 if(0 == LLString::compareInsensitive( 442 if(0 == LLStringUtil::compareInsensitive(name, KNOWN_HEADER[ii]))
443 name.c_str(),
444 KNOWN_HEADER[ii].c_str()))
445 { 443 {
446 name = KNOWN_HEADER[ii]; 444 name = KNOWN_HEADER[ii];
447 break; 445 break;
@@ -525,7 +523,7 @@ void LLMimeParser::Impl::scanPastSeparator(
525 { 523 {
526 mContinue = false; 524 mContinue = false;
527 } 525 }
528 if(0 == LLString::compareStrings(mBuffer, separator.c_str())) 526 if(0 == LLStringUtil::compareStrings(std::string(mBuffer), separator))
529 { 527 {
530 found_separator = true; 528 found_separator = true;
531 } 529 }