mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Removed in libresapi unused code that caused compilation error
This commit is contained in:
parent
ef52e090ea
commit
fca10c2f1b
@ -41,12 +41,6 @@ FileSharingHandler::FileSharingHandler(StateTokenServer *sts, RsFiles *files):
|
|||||||
addResourceHandler("download", this, &FileSharingHandler::handleDownload);
|
addResourceHandler("download", this, &FileSharingHandler::handleDownload);
|
||||||
|
|
||||||
mStateToken = mStateTokenServer->getNewToken();
|
mStateToken = mStateTokenServer->getNewToken();
|
||||||
mStateTokenServer->registerTickClient(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
FileSharingHandler::~FileSharingHandler()
|
|
||||||
{
|
|
||||||
mStateTokenServer->unregisterTickClient(this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void FileSharingHandler::handleWildcard(Request & /*req*/, Response & /*resp*/)
|
void FileSharingHandler::handleWildcard(Request & /*req*/, Response & /*resp*/)
|
||||||
|
@ -30,7 +30,6 @@ class FileSharingHandler: public ResourceRouter
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
FileSharingHandler(StateTokenServer* sts, RsFiles* files);
|
FileSharingHandler(StateTokenServer* sts, RsFiles* files);
|
||||||
virtual ~FileSharingHandler();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void handleWildcard(Request& req, Response& resp);
|
void handleWildcard(Request& req, Response& resp);
|
||||||
|
Loading…
Reference in New Issue
Block a user