From ad1cbc0d4cf6e18fe33f08db583c3c5513990e4b Mon Sep 17 00:00:00 2001 From: Bjoern Sikora Date: Tue, 22 Sep 2009 19:31:51 +0200 Subject: [PATCH] Bugfix: User \n as delimiter for service tzo. --- src/service_tzo.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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" ) { -- 1.7.1