When changing request type, it helps to let the request

know what its new type is



SVN revision: 73988
This commit is contained in:
Iván Briano 2012-07-17 14:23:43 +00:00
parent 667b42fbf2
commit 69f2a9154c
1 changed files with 1 additions and 0 deletions

View File

@ -188,6 +188,7 @@ cserve2_request_type_set(Slave_Request *req, Slave_Request_Type type)
from = &requests[req->type].waiting;
to = &requests[type].waiting;
req->type = type;
*from = eina_inlist_remove(*from, EINA_INLIST_GET(req));
*to = eina_inlist_append(*to, EINA_INLIST_GET(req));
}