git://developer.intra2net.com
/
bpdyndnsd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Use enum for perform_update() return code. Made function protected
[bpdyndnsd]
/
src
/
service.cpp
diff --git
a/src/service.cpp
b/src/service.cpp
index
e798a1d
..
1bab19b
100644
(file)
--- a/
src/service.cpp
+++ b/
src/service.cpp
@@
-280,7
+280,7
@@
void Service::update(const string& ip, const time_t current_time, bool changed_t
{
Log->print_update_service(service_name);
- if ( perform_update(ip) == 0 )
+ if ( perform_update(ip) == UpdateOk )
{
// if update was successful, we need to set the Lastupdated and ActualIP base member.
set_last_update(current_time,ip);