Last linter optimizations.
[bpdyndnsd] / src / ip_addr_helper.cpp
index e0e8dd1..af88ee4 100644 (file)
@@ -377,7 +377,7 @@ string IPAddrHelper::webcheck_ip()
     time_t current_time = time(NULL);
 
     // Test if webcheck is allowed due to webcheck_interval.
-    if ( (LastWebcheck + ((time_t)(WebcheckInterval*60))) >= current_time )
+    if ( (LastWebcheck + ((time_t)WebcheckInterval*60)) >= current_time )
     {
         // Webcheck not allowed, log it and return empty string.
         Log->print_webcheck_exceed_interval( LastWebcheck, (WebcheckInterval*60), current_time );