diff options
| author | Igor Borovkov <iborovkov@productengine.com> | 2010-04-02 17:24:44 +0300 |
|---|---|---|
| committer | Igor Borovkov <iborovkov@productengine.com> | 2010-04-02 17:24:44 +0300 |
| commit | 16b22d4abe99f8b43628db9db8142d65f431b062 (patch) | |
| tree | 079db718f06c6ed35267db5fe35b1dbd7f2de28f /indra/newview/llurl.cpp | |
| parent | f4f05ad4dfc1ae47ffad0c9e2d26c4123d7f42c1 (diff) | |
| parent | 7d38dd51c2a59d173bee9c04737002313f4b9dec (diff) | |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llurl.cpp')
| -rw-r--r-- | indra/newview/llurl.cpp | 6 |
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] = ""; |
