[avahi] Need for asserting service resolver in resolve_callback

Ankit ankitstarski at gmail.com
Sun Aug 9 08:48:05 PDT 2015


Hi all,

I am working on a project that uses Avahi for service discovery.

I noticed that there is an assertion for the presence of service
resolver inside the resolve_callback function.

Is that really necessary? This function is not going to be called
without a service resolver anyway.

Thanks,
Ankit

On Sun, Aug 9, 2015 at 9:12 PM, Ankit <ankitstarski at gmail.com> wrote:
> Hi all,
>
> I am working on a project that uses Avahi for service discovery.
>
> I noticed that there is an assertion for the presence of service
> resolver inside the resolve_callback function.
>
> Is that really necessary? This function is not going to be called
> without a service resolver anyway.
>
> Thanks,
> Ankit


More information about the avahi mailing list