summaryrefslogtreecommitdiffstats
path: root/libktorrent/kademlia
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-02-16 11:46:47 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2014-02-16 11:46:47 -0600
commite8f11cc3a54c83972c340686007ad0346daea806 (patch)
treea45e689658444287fb710c09eecfefe29657f905 /libktorrent/kademlia
parent21862f8352c833f4ed24dd6eab8f37dc5b4eb48d (diff)
downloadktorrent-e8f11cc3a54c83972c340686007ad0346daea806.tar.gz
ktorrent-e8f11cc3a54c83972c340686007ad0346daea806.zip
Fix unintended renaming
Diffstat (limited to 'libktorrent/kademlia')
-rw-r--r--libktorrent/kademlia/rpcmsg.cpp6
-rw-r--r--libktorrent/kademlia/rpcmsg.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/libktorrent/kademlia/rpcmsg.cpp b/libktorrent/kademlia/rpcmsg.cpp
index 90d2484..b5b2b7d 100644
--- a/libktorrent/kademlia/rpcmsg.cpp
+++ b/libktorrent/kademlia/rpcmsg.cpp
@@ -252,7 +252,7 @@ namespace dht
////////////////////////////////
- PingReq::PingReq(const Key & id) : MsgBase(0xFF,PING,RETQ_MSG,id)
+ PingReq::PingReq(const Key & id) : MsgBase(0xFF,PING,REQ_MSG,id)
{
}
@@ -289,7 +289,7 @@ namespace dht
////////////////////////////////
FindNodeReq::FindNodeReq(const Key & id,const Key & target)
- : MsgBase(0xFF,FIND_NODE,RETQ_MSG,id),target(target)
+ : MsgBase(0xFF,FIND_NODE,REQ_MSG,id),target(target)
{}
FindNodeReq::~FindNodeReq()
@@ -328,7 +328,7 @@ namespace dht
////////////////////////////////
GetPeersReq::GetPeersReq(const Key & id,const Key & info_hash)
- : MsgBase(0xFF,GET_PEERS,RETQ_MSG,id),info_hash(info_hash)
+ : MsgBase(0xFF,GET_PEERS,REQ_MSG,id),info_hash(info_hash)
{}
GetPeersReq::~GetPeersReq()
diff --git a/libktorrent/kademlia/rpcmsg.h b/libktorrent/kademlia/rpcmsg.h
index 58f6891..acdae14 100644
--- a/libktorrent/kademlia/rpcmsg.h
+++ b/libktorrent/kademlia/rpcmsg.h
@@ -40,7 +40,7 @@ namespace dht
enum Type
{
- RETQ_MSG,
+ REQ_MSG,
RSP_MSG,
ERR_MSG,
INVALID