mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Wrong error code returned.
This commit is contained in:
@@ -1188,7 +1188,7 @@ Json::Value RPCHandler::doPathFind(Json::Value jvRequest, int& cost, ScopedLock&
|
||||
{
|
||||
PFRequest::pointer request = mInfoSub->getPFRequest();
|
||||
if (!request)
|
||||
return rpcNO_PF_REQUEST;
|
||||
return rpcError(rpcNO_PF_REQUEST);
|
||||
mInfoSub->clearPFRequest();
|
||||
return request->doClose(jvRequest);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user