git://developer.intra2net.com
/
bpdyndnsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a7c1e27
)
Bugfix: Status code in curl data is delimited by carriage return + line feed, so...
author
Bjoern Sikora
<bjoern.sikora@intra2net.com>
Tue, 13 Oct 2009 11:24:22 +0000 (13:24 +0200)
committer
Bjoern Sikora
<bjoern.sikora@intra2net.com>
Tue, 13 Oct 2009 11:24:22 +0000 (13:24 +0200)
src/service_tzo.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/service_tzo.cpp
b/src/service_tzo.cpp
index
4fd5750
..
99c12a8
100644
(file)
--- 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,"\n");
+ string status_code = Util::parse_status_code(curl_data,"\r\n");
if ( status_code == "200" )
{