mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
miracle-wfdctl: print friendly name when peer shows up
This commit is contained in:
parent
6e48e1092a
commit
3e41e488a5
2 changed files with 3 additions and 2 deletions
|
@ -25,7 +25,7 @@ static inline _t wfd_arg_get_##_s(const struct wfd_arg *a) \
|
||||||
}
|
}
|
||||||
|
|
||||||
#define wfd_arg_setter(_t, _s, _S) \
|
#define wfd_arg_setter(_t, _s, _S) \
|
||||||
static inline void wfd_arg_set_##_t(struct wfd_arg *a, _t v) \
|
static inline void wfd_arg_set_##_s(struct wfd_arg *a, _t v) \
|
||||||
{ \
|
{ \
|
||||||
assert(a); \
|
assert(a); \
|
||||||
assert(!a->type || WFD_ARG_##_S == a->type); \
|
assert(!a->type || WFD_ARG_##_S == a->type); \
|
||||||
|
|
|
@ -314,7 +314,8 @@ void ctl_fn_peer_new(struct ctl_peer *p)
|
||||||
union wfd_sube sube;
|
union wfd_sube sube;
|
||||||
int r;
|
int r;
|
||||||
|
|
||||||
log_debug("new peer %s shows up: '%s'",
|
log_debug("new peer %s (%s) shows up, wfd_subelems: '%s'",
|
||||||
|
p->friendly_name,
|
||||||
p->label,
|
p->label,
|
||||||
p->wfd_subelements);
|
p->wfd_subelements);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue