Remove unused, unfinished, useless UPnP code

This commit is contained in:
Julien BLACHE
2009-04-08 15:31:23 +02:00
parent 6db32640ef
commit 8718f856df
7 changed files with 2 additions and 740 deletions

View File

@@ -88,7 +88,6 @@
#include "os.h"
#include "plugin.h"
#include "util.h"
#include "upnp.h"
#include "io.h"
#include "mdns_avahi.h"
@@ -629,10 +628,6 @@ int main(int argc, char *argv[]) {
exit(EXIT_FAILURE);
}
#ifdef UPNP
upnp_init();
#endif
/* this will require that the db be readable by the runas user */
db_type = conf_alloc_string("general","db_type","sqlite");
db_parms = conf_alloc_string("general","db_parms","/var/cache/mt-daapd");
@@ -780,11 +775,6 @@ int main(int argc, char *argv[]) {
DPRINTF(E_LOG, L_MAIN | L_REND, "mDNS deinit\n");
mdns_deinit();
#ifdef UPNP
upnp_deinit();
#endif
/* Got to find a cleaner way to stop the web server.
* Closing the fd of the socking accepting doesn't necessarily
* cause the accept to fail on some libcs.