Some more Remote pairing logging

This commit is contained in:
ejurgensen 2014-01-27 20:36:54 +01:00
parent 5d6d7c7f82
commit 6decdf4eaf

View File

@ -419,7 +419,11 @@ pairing_request_cb(struct evhttp_request *req, void *arg)
ri = (struct remote_info *)arg;
if (!req)
{
DPRINTF(E_LOG, L_REMOTE, "Empty pairing request callback\n");
goto cleanup;
}
if (req->response_code != HTTP_OK)
{
@ -554,6 +558,8 @@ send_pairing_request(struct remote_info *ri, char *req_uri, int family)
goto request_fail;
}
DPRINTF(E_DBG, L_REMOTE, "Pairing requested to %s\n", req_uri);
ri->evcon = evcon;
return 0;