#else
-#if MINIUPNPC_API_VERSION > 15
+#if MINIUPNPC_API_VERSION > 17
#warning "The version of libminiupnpc you're building against seems to be too recent. Expect trouble."
#endif
}
static void *upnp_thread(void *data) {
+ (void)data;
+
while(true) {
time_t start = time(NULL);
upnp_refresh();