提交 121bd68d 编写于 作者: B Ben Laurie

Don't shadow.

上级 cf897932
......@@ -344,8 +344,8 @@ char *ip;
if (s == INVALID_SOCKET) goto err;
#if defined SOL_SOCKET && defined SO_REUSEADDR
{
int i = 1;
setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &i, sizeof i);
int j = 1;
setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &j, sizeof j);
}
#endif
if (bind(s,(struct sockaddr *)&server,sizeof(server)) == -1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册