aMule Bug Tracker - aMule
View Issue Details
0001195aMuleUtilitiespublic2007-11-05 12:362007-11-18 14:33
604e 
Wuischke 
normalminoralways
resolvedfixed 
2.1.3 
 
Linux (probably all)
0001195: KAD searching broken in amulecmd
amulecmd doesn't seem to parse the search type correctly so it always tries to search ED2K:

aMulecmd$ search kad b0rken
 > Request failed with the following error: ED2K search can't be done if ED2K is not connected
No tags attached.
Issue History
2007-11-05 12:36604eNew Issue
2007-11-05 12:36604eOperating System => Linux (probably all)
2007-11-05 16:18604eNote Added: 0002436
2007-11-13 00:51mr_hydeNote Added: 0002438
2007-11-13 00:52mr_hydeNote Added: 0002439
2007-11-13 00:57mr_hydeNote Deleted: 0002439
2007-11-18 14:33WuischkeStatusnew => resolved
2007-11-18 14:33WuischkeResolutionopen => fixed
2007-11-18 14:33WuischkeAssigned To => Wuischke
2007-11-18 14:33WuischkeNote Added: 0002458

Notes
(0002436)
604e   
2007-11-05 16:18   
Seems that lines 407 and 409 in src/TextClient.cpp are simply superfluous. IMBW but I don't see how checking for EC_SEARCH_GLOBAL/_LOCAL would make any sense with Kademlia anyway. Just patched it and it seems to work fine so far:

407,409c407
< if (search_type != EC_SEARCH_GLOBAL && search_type != EC_SEARCH_LOCAL){
< search_type = EC_SEARCH_KAD;
< }
---
> search_type = EC_SEARCH_KAD;
(0002438)
mr_hyde   
2007-11-13 00:51   
Probably is the same problem of 0001199
(0002458)
Wuischke   
2007-11-18 14:33   
This is probably fixed, please see http://bugs.amule.org/view.php?id=0001199 [^] .