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:
parent
590a6f4550
commit
0c7e3092b3
1 changed files with 2 additions and 1 deletions
|
@ -479,7 +479,7 @@ static int wfd_session_handle_reply(struct rtsp *bus,
|
||||||
struct wfd_session *s = userdata;
|
struct wfd_session *s = userdata;
|
||||||
|
|
||||||
if(!m) {
|
if(!m) {
|
||||||
r = 0;
|
r = -EPIPE;
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -508,6 +508,7 @@ static int wfd_session_handle_reply(struct rtsp *bus,
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
log_info("error while handling reply: %s", strerror(-r));
|
||||||
wfd_session_teardown(s);
|
wfd_session_teardown(s);
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue