Merge pull request #6898 from rfuentess/udp_sock
sock/udp.h: Minor fix to example
This commit is contained in:
commit
9fc95504c8
@ -224,7 +224,7 @@
|
||||
* IPV6_ADDR_MCAST_SCP_LINK_LOCAL);
|
||||
* if (sock_udp_send(&sock, "Hello!", sizeof("Hello!"), &remote) < 0) {
|
||||
* puts("Error sending message");
|
||||
* sock_udp_close();
|
||||
* sock_udp_close(&sock);
|
||||
* return 1;
|
||||
* }
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user