diff --git a/indra/llmessage/llxfermanager.cpp b/indra/llmessage/llxfermanager.cpp
index f157f4be5639a624d9fcd206e2d4637a8afa34ed..38ba4b162459d4325395ed2ca21be07fe5a74ca7 100644
--- a/indra/llmessage/llxfermanager.cpp
+++ b/indra/llmessage/llxfermanager.cpp
@@ -150,7 +150,7 @@ void LLXferManager::updateHostStatus()
 		for (status_list_t::iterator iter = mOutgoingHosts.begin();
 			 iter != mOutgoingHosts.end(); ++iter)
 		{
-			if (host_statusp->mHost == (*send_iter)->mRemoteHost)
+			if ((*iter)->mHost == (*send_iter)->mRemoteHost)
 			{
 				host_statusp = *iter;
 				break;