Enhanced update logic to respect not activated hostnames. If a hostname could not...
[bpdyndnsd] / src / service_easydns.cpp
index a90d259..d598d64 100644 (file)
@@ -210,10 +210,12 @@ Service::UpdateErrorCode ServiceEasydns::perform_update(const std::string& ip)
             else if ( status_code == "NOACCESS" )
             {
                 get_logger()->print_service_not_authorized(url,get_login(),get_password());
+                return NotAuth;
             }
             else
             {
                 get_logger()->print_update_failure(url, curl_data);
+                return UpdateError;
             }
         }
         else