diff options
author | Christian Hesse <mail@eworm.de> | 2013-11-05 13:25:15 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-11-05 13:25:15 +0100 |
commit | 0fbabe67712b932226fc58ee4af279d7005e82f1 (patch) | |
tree | 96d70c38399967b58431094b3b33a4bb61b0c794 | |
parent | 59ea0fca10873d36cb614ab2b6601a353b12bd72 (diff) | |
download | paccache-0fbabe67712b932226fc58ee4af279d7005e82f1.tar.gz paccache-0fbabe67712b932226fc58ee4af279d7005e82f1.tar.zst |
do not handle client to browse_callback
-rw-r--r-- | pacredir.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -512,13 +512,13 @@ int main(int argc, char ** argv) { } /* create the service browser for PACSERVE */ - if ((pacserve = avahi_service_browser_new(client, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, PACSERVE, NULL, 0, browse_callback, client)) == NULL) { + if ((pacserve = avahi_service_browser_new(client, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, PACSERVE, NULL, 0, browse_callback, NULL)) == NULL) { write_log(stderr, "Failed to create service browser: %s\n", avahi_strerror(avahi_client_errno(client))); goto fail; } /* create the service browser for PACDBSERVE */ - if ((pacdbserve = avahi_service_browser_new(client, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, PACDBSERVE, NULL, 0, browse_callback, client)) == NULL) { + if ((pacdbserve = avahi_service_browser_new(client, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, PACDBSERVE, NULL, 0, browse_callback, NULL)) == NULL) { write_log(stderr, "Failed to create service browser: %s\n", avahi_strerror(avahi_client_errno(client))); goto fail; } |