Commit 40a64f65 authored by Pekka Pessi's avatar Pekka Pessi

nth: use msg_ref() and msg_unref()

parent 23ea5d1a
......@@ -1021,7 +1021,7 @@ msg_t *nth_client_request(nth_client_t * hc)
msg_t *nth_client_response(nth_client_t const *hc)
{
if (hc)
return msg_ref_create(hc->hc_response);
return msg_ref(hc->hc_response);
else
return NULL;
}
......
......@@ -1231,7 +1231,7 @@ msg_t *nth_request_message(nth_request_t *req)
msg_t *retval = NULL;
if (req)
retval = msg_ref_create(req->req_request);
retval = msg_ref(req->req_request);
return retval;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment