diff options
author | Don Kjer <don@lindenlab.com> | 2013-03-05 22:05:22 -0800 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2013-03-05 22:05:22 -0800 |
commit | 54cdc322b8f2bd35b289cacf3493622e7cc51194 (patch) | |
tree | 4f686cdfbaaf8819dfb1b015a1c8388ea1f59eac /indra/newview/llagentpilot.cpp | |
parent | 9a0c52a247ecbd79f5f872ceb97a6be3e0499bea (diff) |
Fixing issues with not detecting when LLSD XML parsing fails. Changing most http error handlers to understand LLSD error responses. Fleshing out most http error handler message spam.
Diffstat (limited to 'indra/newview/llagentpilot.cpp')
-rw-r--r-- | indra/newview/llagentpilot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llagentpilot.cpp b/indra/newview/llagentpilot.cpp index 734c502fcf..c7872fc5f6 100644 --- a/indra/newview/llagentpilot.cpp +++ b/indra/newview/llagentpilot.cpp @@ -139,7 +139,7 @@ void LLAgentPilot::loadXML(const std::string& filename) mActions.reset(); LLSD record; - while (!file.eof() && LLSDSerialize::fromXML(record, file)) + while (!file.eof() && LLSDParser::PARSE_FAILURE != LLSDSerialize::fromXML(record, file)) { Action action; action.mTime = record["time"].asReal(); |