From: Bjoern Sikora Date: Tue, 22 Sep 2009 17:31:51 +0000 (+0200) Subject: Bugfix: User \n as delimiter for service tzo. X-Git-Tag: v1.1~155 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=ad1cbc0d4cf6e18fe33f08db583c3c5513990e4b;p=bpdyndnsd Bugfix: User \n as delimiter for service tzo. --- diff --git a/src/service_tzo.cpp b/src/service_tzo.cpp index 895e816..4fd5750 100644 --- a/src/service_tzo.cpp +++ b/src/service_tzo.cpp @@ -117,7 +117,7 @@ int ServiceTzo::perform_update(const std::string& ip) { // Get the received http data and parse the status code. string curl_data = HTTPHelp->get_curl_data(); - string status_code = Util::parse_status_code(curl_data); + string status_code = Util::parse_status_code(curl_data,"\n"); if ( status_code == "200" ) {