X-Git-Url: http://developer.intra2net.com/git/?a=blobdiff_plain;f=src%2Fservice_ods.cpp;h=d6a3bec92eb2957695b5975d47268f260436b680;hb=7335d7a7a9db007b02b47c30cc76148a9962e993;hp=60d4354c30f5fbf6ff3813cc4ead53f3801c6156;hpb=b6171a3f35e5d3bbb89f8ccc44b58d2514a2c795;p=bpdyndnsd diff --git a/src/service_ods.cpp b/src/service_ods.cpp index 60d4354..d6a3bec 100644 --- a/src/service_ods.cpp +++ b/src/service_ods.cpp @@ -115,7 +115,7 @@ Service::UpdateErrorCode ServiceOds::perform_update(const std::string& ip) // Login failed get_logger()->print_service_not_authorized(UpdateServer,get_login(),get_password()); connection->close_connection(); /*lint !e534 */ - return GenericError; + return NotAuth; } else if ( status_code != "225" ) { @@ -177,7 +177,7 @@ Service::UpdateErrorCode ServiceOds::perform_update(const std::string& ip) { get_logger()->print_undefined_protocol_error("ODS",update_reply); connection->close_connection(); /*lint !e534 */ - return GenericError; + return UpdateError; } }