From adc24082cab4746cc267851262783edd36a854b6 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Thu, 25 Aug 2016 03:29:47 +0200 Subject: [PATCH] Buildfix in release --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index a0beee3..a2237d8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -242,10 +242,11 @@ int main() { return 1; } + UPNPUrlsResource urls(devlist.get()); + #if defined(KUU_VERBOSE) std::cout << "Found: " << devs.front()->descURL << ", " << devs.front()->st << '\n'; - UPNPUrlsResource urls(devlist.get()); switch (urls.igd_reply()) { case UPNPUrlsResource::IGDValid: std::cout << "Found valid IGD: " << urls.urls()->controlURL << '\n';