diff options
Diffstat (limited to 'linden/indra/llmessage/lltransfermanager.cpp')
-rw-r--r-- | linden/indra/llmessage/lltransfermanager.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/linden/indra/llmessage/lltransfermanager.cpp b/linden/indra/llmessage/lltransfermanager.cpp index f42ce45..3de08c6 100644 --- a/linden/indra/llmessage/lltransfermanager.cpp +++ b/linden/indra/llmessage/lltransfermanager.cpp | |||
@@ -601,34 +601,6 @@ void LLTransferManager::processTransferAbort(LLMessageSystem *msgp, void **) | |||
601 | 601 | ||
602 | 602 | ||
603 | //static | 603 | //static |
604 | void LLTransferManager::processTransferPriority(LLMessageSystem *msgp, void **) | ||
605 | { | ||
606 | //llinfos << "LLTransferManager::processTransferPacket" << llendl; | ||
607 | |||
608 | LLUUID transfer_id; | ||
609 | LLTransferChannelType channel_type; | ||
610 | F32 priority = 0.f; | ||
611 | msgp->getUUID("TransferInfo", "TransferID", transfer_id); | ||
612 | msgp->getS32("TransferInfo", "ChannelType", (S32 &)channel_type); | ||
613 | msgp->getF32("TransferInfo", "Priority", priority); | ||
614 | |||
615 | // Hmm, not a target. Maybe it's a source. | ||
616 | LLTransferSourceChannel *tscp = gTransferManager.getSourceChannel(msgp->getSender(), channel_type); | ||
617 | if (tscp) | ||
618 | { | ||
619 | LLTransferSource *tsp = tscp->findTransferSource(transfer_id); | ||
620 | if (tsp) | ||
621 | { | ||
622 | tscp->updatePriority(tsp, priority); | ||
623 | return; | ||
624 | } | ||
625 | } | ||
626 | |||
627 | llwarns << "Couldn't find transfer " << transfer_id << " to set priority!" << llendl; | ||
628 | } | ||
629 | |||
630 | |||
631 | //static | ||
632 | void LLTransferManager::reliablePacketCallback(void **user_data, S32 result) | 604 | void LLTransferManager::reliablePacketCallback(void **user_data, S32 result) |
633 | { | 605 | { |
634 | LLUUID *transfer_idp = (LLUUID *)user_data; | 606 | LLUUID *transfer_idp = (LLUUID *)user_data; |