mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kutils: do not lookup TXT records from KDNSSD
irrelevant to it Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
09687d36d4
commit
bac4fbc947
1 changed files with 13 additions and 1 deletions
|
@ -301,6 +301,8 @@ void KDNSSDPrivate::browseCallback(AvahiServiceBrowser *avahibrowser, AvahiIfInd
|
|||
AvahiLookupResultFlags avahiflags,
|
||||
void* userdata)
|
||||
{
|
||||
Q_UNUSED(avahiflags);
|
||||
|
||||
// qDebug() << Q_FUNC_INFO << avahievent << avahiname << avahitype << avahidomain << userdata;
|
||||
|
||||
KDNSSDPrivate *kdnssdprivate = static_cast<KDNSSDPrivate*>(userdata);
|
||||
|
@ -313,7 +315,7 @@ void KDNSSDPrivate::browseCallback(AvahiServiceBrowser *avahibrowser, AvahiIfInd
|
|||
avahiclient,
|
||||
avahiinterface, avahiprotocol,
|
||||
avahiname, avahitype, avahidomain,
|
||||
s_avahiproto, AvahiLookupFlags(0),
|
||||
s_avahiproto, AVAHI_LOOKUP_NO_TXT,
|
||||
KDNSSDPrivate::resolveCallback,
|
||||
userdata
|
||||
);
|
||||
|
@ -349,6 +351,12 @@ void KDNSSDPrivate::resolveCallback(AvahiServiceResolver *avahiresolver, AvahiIf
|
|||
AvahiLookupResultFlags avahiflags,
|
||||
void* userdata)
|
||||
{
|
||||
Q_UNUSED(avahiinterface);
|
||||
Q_UNUSED(avahiprotocol);
|
||||
Q_UNUSED(avahitxt);
|
||||
Q_UNUSED(avahiflags);
|
||||
Q_UNUSED(avahiflags);
|
||||
|
||||
// qDebug() << Q_FUNC_INFO << avahievent << avahiname << avahitype << avahidomain << userdata;
|
||||
|
||||
KDNSSDPrivate *kdnssdprivate = static_cast<KDNSSDPrivate*>(userdata);
|
||||
|
@ -417,6 +425,10 @@ void KDNSSDPrivate::serviceCallback(AvahiServiceTypeBrowser *avahiservice,
|
|||
AvahiLookupResultFlags avahiflags,
|
||||
void *userdata)
|
||||
{
|
||||
Q_UNUSED(avahiinterface);
|
||||
Q_UNUSED(avahiprotocol);
|
||||
Q_UNUSED(avahiflags);
|
||||
|
||||
// qDebug() << Q_FUNC_INFO << avahievent << avahitype << avahidomain << userdata;
|
||||
|
||||
KDNSSDPrivate *kdnssdprivate = static_cast<KDNSSDPrivate*>(userdata);
|
||||
|
|
Loading…
Add table
Reference in a new issue