提交 54705b39 编写于 作者: B Bodo Möller

-Wall insists that main return an int.

上级 4ed601b1
......@@ -258,7 +258,7 @@ int OpenSocket(int nPort)
return nFD;
}
void main(int argc,char **argv)
int main(int argc,char **argv)
{
SSLStateMachine *pMachine;
int nPort;
......@@ -366,4 +366,6 @@ void main(int argc,char **argv)
SSLStateMachine_write_inject(pMachine,buf,n);
}
}
/* not reached */
return 0;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册