summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/HttpClient.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/HttpClient.cc b/lib/HttpClient.cc
index 4bcab08..f516fbb 100644
--- a/lib/HttpClient.cc
+++ b/lib/HttpClient.cc
@@ -112,7 +112,7 @@ int HttpClient::Do() throw (GeneralException) {
b >> t;
} while (t.strlen() == 0);
- t.scanf("%x", &l);
+ l = t.to_int("%x");
if (l)
b.copyto(&b2, l);