Ticket #71 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

D-Bus version detection only works for version < 1.0

Reported by: lathiat Owned by: lennart
Milestone: Avahi 0.6.16 Component: avahi-client
Keywords: Cc:

Description

in avahi-client/dbus-protocol.c, it does a dbus version check as so:

#if (DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR >= 60)

This is bad because it doesnt work for versions >= 1.0

This should be

#if (DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR < 60)

And reverse the then/else segments

Change History

Changed 5 years ago by lathiat

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to Avahi 0.7

Fixed in R1333

Changed 5 years ago by lennart

  • milestone changed from Avahi 0.7 to Avahi 0.6.16
Note: See TracTickets for help on using tickets.