Guest User

Untitled

a guest
Dec 18th, 2011
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. === modified file 'dcpp/Download.cpp'
  2. --- dcpp/Download.cpp 2011-09-30 11:33:12 +0000
  3. +++ dcpp/Download.cpp 2011-12-18 15:59:00 +0000
  4. @@ -65,7 +65,7 @@
  5. cmd.addParam(Transfer::names[getType()]);
  6.  
  7. if(getType() == TYPE_PARTIAL_LIST) {
  8. - cmd.addParam(Util::toAdcFile(getPath()));
  9. + cmd.addParam(Util::toAdcFile(getTempTarget()));
  10. } else if(getType() == TYPE_FULL_LIST) {
  11. if(isSet(Download::FLAG_XML_BZ_LIST)) {
  12. cmd.addParam(USER_LIST_NAME_BZ);
  13.  
  14. === modified file 'dcpp/QueueManager.cpp'
  15. --- dcpp/QueueManager.cpp 2011-10-20 14:14:24 +0000
  16. +++ dcpp/QueueManager.cpp 2011-12-18 16:02:42 +0000
  17. @@ -930,7 +930,7 @@
  18. }
  19. }
  20.  
  21. - Download* d = new Download(aSource, *q, q->isSet(QueueItem::FLAG_PARTIAL_LIST) ? q->getTempTarget() : q->getTarget(), supportsTrees);
  22. + Download* d = new Download(aSource, *q, q->getTarget(), supportsTrees);
  23.  
  24. userQueue.addDownload(q, d);
  25.  
  26. @@ -1090,7 +1090,7 @@
  27. aDownload->setFile(0);
  28.  
  29. if(aDownload->getType() == Transfer::TYPE_PARTIAL_LIST) {
  30. - QueueItem* q = fileQueue.find(getListPath(aDownload->getHintedUser()));
  31. + QueueItem* q = fileQueue.find(aDownload->getPath());
  32. if(q) {
  33. if(finished) {
  34. fire(QueueManagerListener::PartialList(), aDownload->getHintedUser(), aDownload->getPFS());
Advertisement
Add Comment
Please, Sign In to add comment