From 068d311ecc7b52f1adaa894864afa54ef49a3e6e Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 9 Apr 2015 20:54:00 -0700 Subject: TRACE compile fixes, other fixes, and it basically works! It says HELLO. --- osdep/HttpClient.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'osdep/HttpClient.cpp') diff --git a/osdep/HttpClient.cpp b/osdep/HttpClient.cpp index 251320ab..1cf78204 100644 --- a/osdep/HttpClient.cpp +++ b/osdep/HttpClient.cpp @@ -57,6 +57,7 @@ #include "HttpClient.hpp" #include "Thread.hpp" #include "OSUtils.hpp" +#include "../node/Utils.hpp" namespace ZeroTier { @@ -281,7 +282,7 @@ public: return; } ++scPos; - unsigned int rcode = OSUtils::strToUInt(headers.front().substr(scPos,3).c_str()); + unsigned int rcode = Utils::strToUInt(headers.front().substr(scPos,3).c_str()); if ((!rcode)||(rcode > 999)) { _doH(_arg,-1,_url,"invalid HTTP response (invalid response code)"); delete this; -- cgit v1.2.3