mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
Keep 10 extra unassigned slots for event types
Proper error reporting + cruft removal
This commit is contained in:
parent
76d492b4aa
commit
b701ca8da3
5 changed files with 149 additions and 109 deletions
|
@ -395,7 +395,7 @@ JsonApiServer::JsonApiServer(): configMutex("JsonApiServer config"),
|
|||
} );
|
||||
};
|
||||
|
||||
bool retval = rsEvents->registerEventsHandler(
|
||||
auto retval = rsEvents->registerEventsHandler(
|
||||
multiCallback, hId, eventType );
|
||||
|
||||
{
|
||||
|
|
|
@ -151,8 +151,6 @@ protected:
|
|||
/// @see RsThread
|
||||
void onStopRequested() override;
|
||||
|
||||
static const RsJsonApiErrorCategory sErrorCategory;
|
||||
|
||||
static std::error_condition badApiCredientalsFormat(
|
||||
const std::string& user, const std::string& passwd );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue