Finish (mostly) upnp discovery

This commit is contained in:
Ron Pedde
2007-05-04 21:31:05 +00:00
parent 0eba96d92a
commit 648297e253
11 changed files with 472 additions and 49 deletions

View File

@@ -589,10 +589,6 @@ int main(int argc, char *argv[]) {
config.reload = 1; /* force a reload on start */
while(!config.stop) {
#ifdef UPNP
upnp_tick(); /* run the upnp loop */
#endif
if((conf_get_int("general","rescan_interval",0) &&
(rescan_counter > conf_get_int("general","rescan_interval",0)))) {
if((conf_get_int("general","always_scan",0)) ||