Permalink
Browse files

Fix remotebackend setdomainmetadata return value handling. Fix by Aki…

… Tuomi, closes #740

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@3169 d19b8d6e-7fed-0310-83ef-9ca221ded41b
  • Loading branch information...
1 parent 80e82d6 commit f0fa8b6c2849bdb16bbac832c03c14afdcee4f5c @Habbie Habbie committed Apr 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/remotebackend/remotebackend.cc
@@ -300,7 +300,7 @@ bool RemoteBackend::setDomainMetadata(const string& name, const std::string& kin
return false;
if (answer["result"].IsBool())
- return answer.GetBool();
+ return answer["result"].GetBool();
return false;
}

0 comments on commit f0fa8b6

Please sign in to comment.