From 2fb7537346b117b3e1669d5a04a8da61fd68c98a Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sun, 3 May 2009 10:49:33 +0200 Subject: [PATCH] Register RSP and DAAP services in main() --- src/main.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index e9b23de5..c0b8f60a 100644 --- a/src/main.c +++ b/src/main.c @@ -667,10 +667,12 @@ int main(int argc, char *argv[]) { port = conf_get_int("general", "port", 0); - /* Register main service */ + /* Register web server service */ mdns_register(servername, "_http._tcp", port, txtrecord); - /* Register plugin services */ - plugin_rend_register(servername, port, txtrecord); + /* Register RSP service */ + mdns_register(servername, "_rsp._tcp", port, txtrecord); + /* Register DAAP service */ + mdns_register(servername, "_daap._tcp", port, txtrecord); for (i = 0; i < (sizeof(txtrecord) / sizeof(*txtrecord) - 1); i++) free(txtrecord[i]);