!warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@474 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -220,7 +220,7 @@ static void conn_wait(int port)
|
||||
int one = 1;
|
||||
s = socket(AF_INET, SOCK_STREAM, 0);
|
||||
|
||||
setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one));
|
||||
setsockopt(s, SOL_SOCKET, SO_REUSEADDR, (char *)&one, sizeof(one));
|
||||
memset(&sa, 0, sizeof(sa));
|
||||
sa.sin_port = port; /* in network byteorder */
|
||||
sa.sin_addr.s_addr = INADDR_ANY;
|
||||
|
Reference in New Issue
Block a user