- get_config_int(lookup_config(config_tree, "UPnPDiscoverWait"), &upnp_discover_wait);
- get_config_int(lookup_config(config_tree, "UPnPRefreshPeriod"), &upnp_refresh_period);
+ get_config_int(lookup_config(&config_tree, "UPnPDiscoverWait"), &upnp_discover_wait);
+ get_config_int(lookup_config(&config_tree, "UPnPRefreshPeriod"), &upnp_refresh_period);