Fix unintended renaming

pull/1/head
Darrell Anderson 11 years ago
parent 21862f8352
commit e8f11cc3a5

@ -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) 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() FindNodeReq::~FindNodeReq()
@ -328,7 +328,7 @@ namespace dht
//////////////////////////////// ////////////////////////////////
GetPeersReq::GetPeersReq(const Key & id,const Key & info_hash) 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() GetPeersReq::~GetPeersReq()

@ -40,7 +40,7 @@ namespace dht
enum Type enum Type
{ {
RETQ_MSG, REQ_MSG,
RSP_MSG, RSP_MSG,
ERR_MSG, ERR_MSG,
INVALID INVALID

Loading…
Cancel
Save