Skip to content

Commit

Permalink
fixup! sock: Introduction of new application layer API
Browse files Browse the repository at this point in the history
Fix some typos
  • Loading branch information
miri64 committed Aug 25, 2016
1 parent ce205af commit 73861e2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions sys/include/net/sock/ip.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ typedef struct sock_ip sock_ip_t;
* May be 0.
*
* @return 0 on success.
* @return -EADDRINUSE, if `local != NULL` and the stack reports that @p local is
* already use elsewhere
* @return -EADDRINUSE, if `local != NULL` and the stack reports that @p local
* is already used elsewhere
* @return -EAFNOSUPPORT, if `local != NULL` or `remote != NULL` and
* sock_ip_ep_t::family of @p local or @p remote is not supported.
* @return -EINVAL, if `proto` is not supported or if sock_ip_ep_t::netif of
Expand Down
2 changes: 1 addition & 1 deletion sys/include/net/sock/tcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ int sock_tcp_connect(sock_tcp_t *sock, const sock_tcp_ep_t *remote,
*
* @return 0 on success.
* @return -EADDRINUSE, if `(flags & SOCK_FLAGS_REUSE_EP) == 0` and
* @p local_port is already used elsewhere
* @p local is already used elsewhere
* @return -EAFNOSUPPORT, if sock_tcp_ep_t::family of @p local is not
* supported.
* @return -EINVAL, if sock_tcp_ep_t::netif of @p local is not a valid
Expand Down
4 changes: 2 additions & 2 deletions sys/include/net/sock/udp.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ typedef struct sock_udp sock_udp_t;
* May be 0.
*
* @return 0 on success.
* @return -EADDRINUSE, if `local != NULL` and the stack reports that @p local is
* already use elsewhere
* @return -EADDRINUSE, if `local != NULL` and the stack reports that @p local
* is already used elsewhere
* @return -EAFNOSUPPORT, if `local != NULL` or `remote != NULL` and
* sock_udp_ep_t::family of @p local or @p remote is not supported.
* @return -EINVAL, if sock_udp_ep_t::netif of @p local or @p remote is not a
Expand Down

0 comments on commit 73861e2

Please sign in to comment.