diff options
| author | Richard Linden <none@none> | 2010-06-02 14:46:18 -0700 |
|---|---|---|
| committer | Richard Linden <none@none> | 2010-06-02 14:46:18 -0700 |
| commit | 2d107f4349cfcc3fe2b59a0d95ee75ee50134205 (patch) | |
| tree | f155e3d39d220443b389f65c29e0c909373102d1 /indra/newview/llsecapi.cpp | |
| parent | c1aaca36aefff1154a2cd0069d46d466ce39b83a (diff) | |
| parent | 141ea0f89628c92959c21b949fd2ff7a9cb50d9f (diff) | |
merge
Diffstat (limited to 'indra/newview/llsecapi.cpp')
| -rw-r--r-- | indra/newview/llsecapi.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llsecapi.cpp b/indra/newview/llsecapi.cpp index 9e636f38c0..6389fd292c 100644 --- a/indra/newview/llsecapi.cpp +++ b/indra/newview/llsecapi.cpp @@ -59,7 +59,7 @@ void initializeSecHandler() gSecAPIHandler = gHandlerMap[BASIC_SECHANDLER]; // initialize all SecAPIHandlers - LLProtectedDataException ex = LLProtectedDataException(""); + std::string exception_msg; std::map<std::string, LLPointer<LLSecAPIHandler> >::const_iterator itr; for(itr = gHandlerMap.begin(); itr != gHandlerMap.end(); ++itr) { @@ -70,12 +70,12 @@ void initializeSecHandler() } catch (LLProtectedDataException e) { - ex = e; + exception_msg = e.getMessage(); } } - if (ex.getMessage().length() > 0 ) // an exception was thrown. + if (!exception_msg.empty()) // an exception was thrown. { - throw ex; + throw LLProtectedDataException(exception_msg.c_str()); } } |
