Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
Oxymoron79 authored and Daniel Adam committed Oct 13, 2023
1 parent 13b7ff5 commit 918f603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion port/windows/ipadapter.c
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,7 @@ oc_send_discovery_request(oc_message_t *message)
}
DWORD ttl = OC_IPV4_MULTICAST_TTL;
if (setsockopt(dev->server4_sock, IPPROTO_IP, IP_MULTICAST_TTL,
(char*)&ttl, sizeof(DWORD)) == -1) {
(char *)&ttl, sizeof(DWORD)) == -1) {
OC_ERR("setting socket option for default IP_MULTICAST_TTL: %d",
WSAGetLastError());
goto done;
Expand Down

0 comments on commit 918f603

Please sign in to comment.