Skip to content

Commit 4787dcb

Browse files
Arthur AllshireJames Ward
Arthur Allshire
authored and
James Ward
committed
Interface code bugfixes
1 parent c8d5e4f commit 4787dcb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

udp.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,7 @@ int set_up_socket()
3939
ba->sin_port = htons(SERVPORT);
4040
}
4141
}
42-
43-
their_addr.sin_family = AF_INET;
44-
their_addr.sin_port = htons(SERVPORT);
45-
memset(their_addr.sin_zero, '\0', sizeof their_addr.sin_zero);
42+
4643
return 0;
4744
}
4845

0 commit comments

Comments
 (0)