git://developer.intra2net.com
/
bpdyndnsd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Enhanced update logic to respect not activated hostnames. If a hostname could not...
[bpdyndnsd]
/
src
/
service_dyndns.cpp
diff --git
a/src/service_dyndns.cpp
b/src/service_dyndns.cpp
index
4dc4789
..
475d29e
100644
(file)
--- a/
src/service_dyndns.cpp
+++ b/
src/service_dyndns.cpp
@@
-146,10
+146,12
@@
Service::UpdateErrorCode ServiceDyndns::perform_update(const std::string& ip)
else if ( curl_data == "badauth" )
{
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