mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-25 20:16:14 -05:00
Remove unused, unfinished, useless UPnP code
This commit is contained in:
10
src/main.c
10
src/main.c
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user