summaryrefslogtreecommitdiff
path: root/src/network/core
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-02-10 21:06:05 +0000
committerrubidium <rubidium@openttd.org>2010-02-10 21:06:05 +0000
commit7a73a7490d6c2aed45a9773d5399416a29a4cc4e (patch)
tree7da7983dd116cdee4f82c4553a2482f37b514b5a /src/network/core
parent249acc9e4f22d6cc503db857518d0f95a4edec07 (diff)
downloadopenttd-7a73a7490d6c2aed45a9773d5399416a29a4cc4e.tar.xz
(svn r19090) -Codechange: some comment coding style fixes
Diffstat (limited to 'src/network/core')
-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");