From 7a73a7490d6c2aed45a9773d5399416a29a4cc4e Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 10 Feb 2010 21:06:05 +0000 Subject: (svn r19090) -Codechange: some comment coding style fixes --- src/network/core/os_abstraction.h | 2 +- src/network/core/tcp_http.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network') 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"); -- cgit v1.2.3-54-g00ecf