Skip to content

Commit 186efff

Browse files
committed
fixing formatting
1 parent 9e72884 commit 186efff

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/HttpClient.cpp

+5-2
Original file line numberDiff line numberDiff line change
@@ -181,14 +181,17 @@ int HttpClient::sendInitialHeaders(const char* aURLPath, const char* aHttpMethod
181181

182182
void HttpClient::sendHostHeader()
183183
{
184-
if(iServerName || iUseServerAddressForHostHeader) {
184+
if(iServerName || iUseServerAddressForHostHeader)
185+
{
185186
iClient->print(HTTP_HEADER_HOST);
186187
iClient->print(": ");
187188

188189
if (iServerName)
189190
{
190191
iClient->print(iServerName);
191-
} else if(iUseServerAddressForHostHeader) {
192+
}
193+
else if(iUseServerAddressForHostHeader)
194+
{
192195
iClient->print(iServerAddress);
193196
}
194197

0 commit comments

Comments
 (0)