* replace m->osdep.pfroute->poll_api by m->server->poll_api
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@818
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
if (m->osdep.pfroute) {
if (m->osdep.pfroute->watch)
- m->osdep.pfroute->poll_api->watch_free(m->osdep.pfroute->watch);
+ m->server->poll_api->watch_free(m->osdep.pfroute->watch);
if (fd >= 0)
close(fd);
if (m->osdep.pfroute) {
if (m->osdep.pfroute->watch)
- m->osdep.pfroute->poll_api->watch_free(m->osdep.pfroute->watch);
+ m->server->poll_api->watch_free(m->osdep.pfroute->watch);
if (m->osdep.pfroute->fd >= 0)
close(m->osdep.pfroute->fd);
typedef struct AvahiPfRoute AvahiPfRoute;
struct AvahiPfRoute {
int fd;
- const AvahiPoll *poll_api;
AvahiWatch *watch;
AvahiInterfaceMonitor *m;
};