summaryrefslogtreecommitdiff
path: root/indra/llmessage/llcurl.cpp
diff options
context:
space:
mode:
authorLogan Dethrow <log@lindenlab.com>2011-09-06 16:54:53 -0400
committerLogan Dethrow <log@lindenlab.com>2011-09-06 16:54:53 -0400
commita8d49f7cf54151bfe03049417d59462688946ae0 (patch)
tree5fbd5db8b80cf664e4bae0bdb9f52eb4b3bfc365 /indra/llmessage/llcurl.cpp
parent9a1e8d78fe461e5257ca76c295c4915f8719aa4d (diff)
LLProxy code review fixes.
* Removed check_curl_code and check_curl_multi_code from the global namespace. * Added comments documenting which thread the public methods of LLProxy should be called from. * Corrected grammar in LLSingleton.h * Fixed a buffer scope problem in llpacketring.cpp.
Diffstat (limited to 'indra/llmessage/llcurl.cpp')
-rw-r--r--indra/llmessage/llcurl.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/llmessage/llcurl.cpp b/indra/llmessage/llcurl.cpp
index 2d456b8f3f..ee85f3bbd7 100644
--- a/indra/llmessage/llcurl.cpp
+++ b/indra/llmessage/llcurl.cpp
@@ -1213,3 +1213,13 @@ void LLCurl::cleanupClass()
}
const unsigned int LLCurl::MAX_REDIRECTS = 5;
+
+// Provide access to LLCurl free functions outside of llcurl.cpp without polluting the global namespace.
+void LLCurlFF::check_curl_code(CURLcode code)
+{
+ check_curl_code(code);
+}
+void LLCurlFF::check_curl_multi_code(CURLMcode code)
+{
+ check_curl_multi_code(code);
+}