← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 1206855] [NEW] Bug with directory downloads

 

Public bug reported:

The following patch should explain the issue (the current code will
never match anything). This bug doesn't cause any noticeable issues.


=== modified file dcpp/QueueManager.cpp
--- dcpp/QueueManager.cpp	2013-02-14 16:25:20 +0000
+++ dcpp/QueueManager.cpp	2013-07-31 10:00:04 +0000
@@ -705,7 +705,7 @@
 		auto dp = directories.equal_range(aUser);
 
 		for(auto i = dp.first; i != dp.second; ++i) {
-			if(Util::stricmp(aTarget.c_str(), i->second->getName().c_str()) == 0)
+			if(Util::stricmp(aDir.c_str(), i->second->getName().c_str()) == 0)
 				return;
 		}

** Affects: dcplusplus
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/1206855

Title:
  Bug with directory downloads

Status in DC++:
  New

Bug description:
  The following patch should explain the issue (the current code will
  never match anything). This bug doesn't cause any noticeable issues.


  === modified file dcpp/QueueManager.cpp
  --- dcpp/QueueManager.cpp	2013-02-14 16:25:20 +0000
  +++ dcpp/QueueManager.cpp	2013-07-31 10:00:04 +0000
  @@ -705,7 +705,7 @@
   		auto dp = directories.equal_range(aUser);
   
   		for(auto i = dp.first; i != dp.second; ++i) {
  -			if(Util::stricmp(aTarget.c_str(), i->second->getName().c_str()) == 0)
  +			if(Util::stricmp(aDir.c_str(), i->second->getName().c_str()) == 0)
   				return;
   		}

To manage notifications about this bug go to:
https://bugs.launchpad.net/dcplusplus/+bug/1206855/+subscriptions


Follow ups

References