summaryrefslogtreecommitdiff
path: root/indra/newview/llurl.cpp
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2010-04-22 15:10:36 -0700
committerRoxie Linden <roxie@lindenlab.com>2010-04-22 15:10:36 -0700
commitcdc42c49b24415448baf32e4ef40f56ffe697bb3 (patch)
tree8bbfa5f51ea70d1b48015efa75b57803d9b40d05 /indra/newview/llurl.cpp
parent6837f660380d1d5ddff021e6c14273937ff11036 (diff)
parent5e727964dbd6d5e55dd3a0921e8e1f0f77a99747 (diff)
automated merge
Diffstat (limited to 'indra/newview/llurl.cpp')
-rw-r--r--indra/newview/llurl.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llurl.cpp b/indra/newview/llurl.cpp
index ab65ead4c5..83a5839a93 100644
--- a/indra/newview/llurl.cpp
+++ b/indra/newview/llurl.cpp
@@ -286,5 +286,11 @@ const char * LLURL::getFullPath()
return(sReturnString);
}
+const char * LLURL::getAuthority()
+{
+ strncpy(LLURL::sReturnString,mAuthority, LL_MAX_PATH -1); /* Flawfinder: ignore */
+ LLURL::sReturnString[LL_MAX_PATH -1] = '\0';
+ return(sReturnString);
+}
char LLURL::sReturnString[LL_MAX_PATH] = "";