pull/96/merge
Yanlong Wang 2019-09-09 06:05:37 +00:00 committed by GitHub
commit a5116ce706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 22 deletions

View File

@ -1071,7 +1071,6 @@ int storage_func_init(const char *filename, \
int64_t rotate_access_log_size;
int64_t rotate_error_log_size;
ConnectionInfo *pServer;
ConnectionInfo *pEnd;
/*
while (nThreadCount > 0)
@ -1181,27 +1180,6 @@ int storage_func_init(const char *filename, \
break;
}
pEnd = g_tracker_group.servers + g_tracker_group.server_count;
for (pServer=g_tracker_group.servers; pServer<pEnd; pServer++)
{
//printf("server=%s:%d\n", pServer->ip_addr, pServer->port);
if (strcmp(pServer->ip_addr, "127.0.0.1") == 0)
{
logError("file: "__FILE__", line: %d, " \
"conf file \"%s\", " \
"tracker: \"%s:%d\" is invalid, " \
"tracker server ip can't be 127.0.0.1",\
__LINE__, filename, pServer->ip_addr, \
pServer->port);
result = EINVAL;
break;
}
}
if (result != 0)
{
break;
}
pGroupName = iniGetStrValue(NULL, "group_name", &iniContext);
if (pGroupName == NULL)
{