Ticket #71 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.
