Enhanced update logic to respect not activated hostnames. If a hostname could not...
[bpdyndnsd] / src / service_zoneedit.cpp
index 9641011..724e539 100644 (file)
@@ -126,11 +126,13 @@ Service::UpdateErrorCode ServiceZoneedit::perform_update(const std::string& ip)
             else
             {
                 get_logger()->print_update_failure(url,curl_data);
+                return UpdateError;
             }
         }
         else if ( http_status_code == 401 )
         {
             get_logger()->print_service_not_authorized(url,get_login(),get_password());
+            return NotAuth;
         }
         else
         {