summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/core/os_abstraction.h2
-rw-r--r--src/network/core/tcp_http.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/network/core/os_abstraction.h b/src/network/core/os_abstraction.h
index 01f2cf1f6..02f9aaca9 100644
--- a/src/network/core/os_abstraction.h
+++ b/src/network/core/os_abstraction.h
@@ -40,7 +40,7 @@ typedef unsigned long in_addr_t;
#include "../../os/windows/win32.h"
#include "../../core/alloc_func.hpp"
-#define AI_ADDRCONFIG 0x00000400 // Resolution only if global address configured
+#define AI_ADDRCONFIG 0x00000400 /* Resolution only if global address configured */
#define IPV6_V6ONLY 27
static inline int OTTDgetnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, DWORD hostlen, char *serv, DWORD servlen, int flags)
diff --git a/src/network/core/tcp_http.cpp b/src/network/core/tcp_http.cpp
index afba28fce..a0303106b 100644
--- a/src/network/core/tcp_http.cpp
+++ b/src/network/core/tcp_http.cpp
@@ -175,7 +175,7 @@ int NetworkHTTPSocketHandler::HandleHeader()
return 0;
}
-/*static */ int NetworkHTTPSocketHandler::Connect(char *uri, HTTPCallback *callback, const char *data, int depth)
+/* static */ int NetworkHTTPSocketHandler::Connect(char *uri, HTTPCallback *callback, const char *data, int depth)
{
char *hname = strstr(uri, "://");
if (hname == NULL) return_error("[tcp/http] invalid location");