diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-05-15 03:23:25 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-05-15 03:23:33 +0200 |
commit | a3f87e32b936b6cf8571376df57715ddb6695883 (patch) | |
tree | fb80d76552735c015b57f249b68911efc6bda12d /src/resolve/resolved-dnssd.h | |
parent | hwdb: Add accel orientation for the I15-TG (diff) | |
download | systemd-a3f87e32b936b6cf8571376df57715ddb6695883.tar.xz systemd-a3f87e32b936b6cf8571376df57715ddb6695883.zip |
resolve/dnssd: make dnssd_render_instance_name() take Manager
As DnssdService object passed to dnssd_render_instance_name() may
not owned by Manager.
Fixes #23381.
Diffstat (limited to '')
-rw-r--r-- | src/resolve/resolved-dnssd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dnssd.h b/src/resolve/resolved-dnssd.h index d020bb531c..219c0ddfea 100644 --- a/src/resolve/resolved-dnssd.h +++ b/src/resolve/resolved-dnssd.h @@ -53,7 +53,7 @@ DnssdTxtData *dnssd_txtdata_free_all(DnssdTxtData *txt_data); DEFINE_TRIVIAL_CLEANUP_FUNC(DnssdService*, dnssd_service_free); DEFINE_TRIVIAL_CLEANUP_FUNC(DnssdTxtData*, dnssd_txtdata_free); -int dnssd_render_instance_name(DnssdService *s, char **ret_name); +int dnssd_render_instance_name(Manager *m, DnssdService *s, char **ret); int dnssd_load(Manager *manager); int dnssd_txt_item_new_from_string(const char *key, const char *value, DnsTxtItem **ret_item); int dnssd_txt_item_new_from_data(const char *key, const void *value, const size_t size, DnsTxtItem **ret_item); |