1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00

miracle-dispd: add error report log to handle_replay()

This commit is contained in:
Derek Dai 2017-03-31 11:17:14 +08:00
parent 590a6f4550
commit 0c7e3092b3
No known key found for this signature in database
GPG key ID: E109CC97553EF009

View file

@ -479,7 +479,7 @@ static int wfd_session_handle_reply(struct rtsp *bus,
struct wfd_session *s = userdata;
if(!m) {
r = 0;
r = -EPIPE;
goto error;
}
@ -508,6 +508,7 @@ static int wfd_session_handle_reply(struct rtsp *bus,
return 0;
error:
log_info("error while handling reply: %s", strerror(-r));
wfd_session_teardown(s);
return r;