summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2007-04-01 11:40:33 +0000
committerpixel <pixel>2007-04-01 11:40:33 +0000
commitf2a3806a5f911128c69b8619b8f41be5db059b76 (patch)
tree050311d6edc7af7a151e14394852234df39e35d7
parent360bcb4db6def2e2d3d70d4ac64d0927506cffd0 (diff)
Changing method to read hexadecimal numbers - vsscanf not available under windows.
-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);