1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-12 13:41:55 +00:00

whitespace

This commit is contained in:
Alberto Fanjul 2021-10-27 07:35:43 +02:00
parent 7739a9cee0
commit 506f1e7b28
2 changed files with 9 additions and 9 deletions

View file

@ -140,17 +140,17 @@ void link_free(struct link *l)
void link_use_dev(struct link *l)
{
l->use_dev = true;
l->use_dev = true;
}
bool link_is_using_dev(struct link *l)
{
return l->use_dev;
return l->use_dev;
}
int link_set_config_methods(struct link *l, char *config_methods)
{
char *cm;
char *cm;
if (!config_methods)
return log_EINVAL();
@ -161,7 +161,7 @@ int link_set_config_methods(struct link *l, char *config_methods)
free(l->config_methods);
l->config_methods = config_methods;
return 0;
return 0;
}
bool link_get_managed(struct link *l)

View file

@ -104,13 +104,13 @@ static void manager_add_udev_link(struct manager *m,
if (r < 0)
return;
if (m->friendly_name && l->managed)
link_set_friendly_name(l, m->friendly_name);
if (m->config_methods)
link_set_config_methods(l, m->config_methods);
if (m->friendly_name && l->managed)
link_set_friendly_name(l, m->friendly_name);
if (m->config_methods)
link_set_config_methods(l, m->config_methods);
if(use_dev)
link_use_dev(l);
link_use_dev(l);
#ifdef RELY_UDEV
bool managed = udev_device_has_tag(d, "miracle") && !lazy_managed;