aboutsummaryrefslogtreecommitdiffstats
path: root/irc/unreal/files/patch-src_s__bsd.c
blob: 5d74880330c16277df293022561611c444e7dcac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/s_bsd.c.orig    2015-08-16 06:44:25 UTC
+++ src/s_bsd.c
@@ -455,7 +455,7 @@ int  inetport(aClient *cptr, char *name,
     */
    if (cptr->fd == -1)
    {
-       cptr->fd = socket(AFINET, SOCK_STREAM, 0);
+       cptr->fd = socket(AFINET, SOCK_STREAM, IPPROTO_TCP);
    }
    if (cptr->fd < 0)
    {