mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 21:49:10 +00:00
(svn r19090) -Codechange: some comment coding style fixes
This commit is contained in:
@@ -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)
|
||||
|
@@ -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");
|
||||
|
Reference in New Issue
Block a user