summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/examples/http_texture_load.cpp
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2012-06-15 13:42:13 -0400
committerMonty Brandenberg <monty@lindenlab.com>2012-06-15 13:42:13 -0400
commit57575339bb7dd4f67c5e4dc1c1ccc9eda6a2f8f5 (patch)
treea8c43c4a5cad32c8e8684a32c33ccbbba361b5a2 /indra/llcorehttp/examples/http_texture_load.cpp
parent888e2587e57bf296c0b9ee227a4baa3efb3f4892 (diff)
Fix for linux/mac builds.
Diffstat (limited to 'indra/llcorehttp/examples/http_texture_load.cpp')
-rw-r--r--indra/llcorehttp/examples/http_texture_load.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcorehttp/examples/http_texture_load.cpp b/indra/llcorehttp/examples/http_texture_load.cpp
index 83139912c9..6f79833cf6 100644
--- a/indra/llcorehttp/examples/http_texture_load.cpp
+++ b/indra/llcorehttp/examples/http_texture_load.cpp
@@ -267,7 +267,7 @@ bool WorkingSet::reload(LLCore::HttpRequest * hr)
#if defined(WIN32)
_snprintf_s(buffer, sizeof(buffer), sizeof(buffer) - 1, mUrl.c_str(), mTextures[mAt].mUuid.c_str());
#else
- snprintf(buffer, sizeof(buffer), mUrl.c_str(), mUuids[mAt].c_str());
+ snprintf(buffer, sizeof(buffer), mUrl.c_str(), mTextures[mAt].mUuid.c_str());
#endif
int offset(mRandomRange ? ((unsigned long) rand()) % 1000000UL : mTextures[mAt].mOffset);
int length(mRandomRange ? ((unsigned long) rand()) % 1000000UL : mTextures[mAt].mLength);