makes compiler happy

This commit is contained in:
clowwindy
2014-05-02 18:07:14 +08:00
parent e83c0b5698
commit 8cb28f1b7f
+1 -1
View File
@@ -98,7 +98,7 @@ int create_and_bind(const char *host, const char *port)
if (fast_open)
{
opt = 5;
int r = setsockopt(listen_sock, SOL_TCP, TCP_FASTOPEN, &opt, sizeof(opt));
setsockopt(listen_sock, SOL_TCP, TCP_FASTOPEN, &opt, sizeof(opt));
}
#endif