summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMonroe Linden <monroe@lindenlab.com>2010-03-31 18:50:20 -0700
committerMonroe Linden <monroe@lindenlab.com>2010-03-31 18:50:20 -0700
commit11b588c29c5c49af70f4a55258bb934cb7ccdb55 (patch)
tree18cb79246b774a36c89bf824774f8c568010e503 /indra
parenta1092147e0ee845a96d16066db9265cf1fa7f75b (diff)
Fixed a problem with LLPluginCookieStore that would have caused problems when adding multiple cookies with setCookies(), setAllCookies(), and setCookiesFromHost().
Diffstat (limited to 'indra')
-rw-r--r--indra/llplugin/llplugincookiestore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llplugin/llplugincookiestore.cpp b/indra/llplugin/llplugincookiestore.cpp
index 92ee24e1d5..85b1e70d78 100644
--- a/indra/llplugin/llplugincookiestore.cpp
+++ b/indra/llplugin/llplugincookiestore.cpp
@@ -53,7 +53,7 @@ LLPluginCookieStore::~LLPluginCookieStore()
LLPluginCookieStore::Cookie::Cookie(const std::string &s, std::string::size_type cookie_start, std::string::size_type cookie_end):
- mCookie(s, cookie_start, cookie_end),
+ mCookie(s, cookie_start, cookie_end - cookie_start),
mNameStart(0), mNameEnd(0),
mValueStart(0), mValueEnd(0),
mDomainStart(0), mDomainEnd(0),