From f2a3806a5f911128c69b8619b8f41be5db059b76 Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 1 Apr 2007 11:40:33 +0000 Subject: Changing method to read hexadecimal numbers - vsscanf not available under windows. --- lib/HttpClient.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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); -- cgit v1.2.3