1
0
Fork 0
mirror of https://bitbucket.org/King_DuckZ/keepupnpup.git synced 2024-11-07 21:29:00 +00:00

Buildfix in release

This commit is contained in:
King_DuckZ 2016-08-25 03:29:47 +02:00
parent fe0182e73d
commit adc24082ca

View file

@ -242,10 +242,11 @@ int main() {
return 1; return 1;
} }
UPNPUrlsResource urls(devlist.get());
#if defined(KUU_VERBOSE) #if defined(KUU_VERBOSE)
std::cout << "Found: " << devs.front()->descURL << ", " << devs.front()->st << '\n'; std::cout << "Found: " << devs.front()->descURL << ", " << devs.front()->st << '\n';
UPNPUrlsResource urls(devlist.get());
switch (urls.igd_reply()) { switch (urls.igd_reply()) {
case UPNPUrlsResource::IGDValid: case UPNPUrlsResource::IGDValid:
std::cout << "Found valid IGD: " << urls.urls()->controlURL << '\n'; std::cout << "Found valid IGD: " << urls.urls()->controlURL << '\n';