Explorar el Código

indentation style fix

Alex Fabijanic hace 11 años
padre
commit
427a9bc4e4
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. 5 5
      Net/samples/httpget/src/httpget.cpp

+ 5 - 5
Net/samples/httpget/src/httpget.cpp

@@ -69,17 +69,17 @@ int main(int argc, char** argv)
 		std::string path(uri.getPathAndQuery());
 		if (path.empty()) path = "/";
 
-        std::string username;
-        std::string password;
-        Poco::Net::HTTPCredentials::extractCredentials(uri, username, password);
-        Poco::Net::HTTPCredentials credentials(username, password);
+		std::string username;
+		std::string password;
+		Poco::Net::HTTPCredentials::extractCredentials(uri, username, password);
+		Poco::Net::HTTPCredentials credentials(username, password);
 
 		HTTPClientSession session(uri.getHost(), uri.getPort());
 		HTTPRequest request(HTTPRequest::HTTP_GET, path, HTTPMessage::HTTP_1_1);
 		HTTPResponse response;
 		if (!doRequest(session, request, response))
 		{
-            credentials.authenticate(request, response);
+			credentials.authenticate(request, response);
 			if (!doRequest(session, request, response))
 			{
 				std::cerr << "Invalid username or password" << std::endl;