kopia lustrzana https://gitlab.com/sane-project/backends
Fixed variable initialization.
rodzic
b24907c8a9
commit
cb8b6d2ace
|
@ -78,7 +78,7 @@ resolve_callback(AvahiServiceResolver *r, AVAHI_GCC_UNUSED AvahiIfIndex interfac
|
||||||
if (s && s->size > 3)
|
if (s && s->size > 3)
|
||||||
is = (const char*)s->text + 3;
|
is = (const char*)s->text + 3;
|
||||||
else
|
else
|
||||||
uuid = (const char*)NULL;
|
is = (const char*)NULL;
|
||||||
s = avahi_string_list_find(txt, "uuid");
|
s = avahi_string_list_find(txt, "uuid");
|
||||||
if (s && s->size > 5)
|
if (s && s->size > 5)
|
||||||
uuid = (const char*)s->text + 5;
|
uuid = (const char*)s->text + 5;
|
||||||
|
|
Ładowanie…
Reference in New Issue