mark empty list as list in libresapi statetokenserver

This commit is contained in:
electron128 2016-01-03 16:33:09 +01:00
parent 363c4e0b14
commit bb51e62387

View File

@ -114,6 +114,7 @@ void StateTokenServer::handleWildcard(Request &req, Response &resp)
RsStackMutex stack(mMtx); /********** STACK LOCKED MTX ******/
// want to lookpup many tokens at once, return a list of invalid tokens
// TODO: make generic list serialiser/deserialiser
resp.mDataStream.getStreamToMember();
while(req.mStream.hasMore())
{
StateToken token;