From b9330d462bafda5ac409f61bb4214aee22a0428f Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Wed, 12 Oct 2016 17:55:48 +0200 Subject: [PATCH] sock: Some formatting fixes Follow-up on #5929 --- sys/include/net/sock/ip.h | 4 ++-- sys/include/net/sock/udp.h | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/sys/include/net/sock/ip.h b/sys/include/net/sock/ip.h index 1eb5c503b..ee4f659cf 100644 --- a/sys/include/net/sock/ip.h +++ b/sys/include/net/sock/ip.h @@ -393,8 +393,8 @@ int sock_ip_get_remote(sock_ip_t *sock, sock_ip_ep_t *ep); * @param[in] timeout Timeout for receive in microseconds. * If 0 and no data is available, the function returns * immediately. - * May be SOCK_NO_TIMEOUT for no timeout (wait until data - * is available). + * May be @ref SOCK_NO_TIMEOUT for no timeout (wait until + * data is available). * @param[out] remote Remote end point of the received data. * May be NULL, if it is not required by the application. * diff --git a/sys/include/net/sock/udp.h b/sys/include/net/sock/udp.h index fdb47778c..b774b7dd3 100644 --- a/sys/include/net/sock/udp.h +++ b/sys/include/net/sock/udp.h @@ -109,7 +109,8 @@ * sock_udp_ep_t remote; * ssize_t res; * - * if ((res = sock_udp_recv(&sock, buf, sizeof(buf), SOCK_NO_TIMEOUT, &remote)) >= 0) { + * if ((res = sock_udp_recv(&sock, buf, sizeof(buf), SOCK_NO_TIMEOUT, + * &remote)) >= 0) { * puts("Received a message"); * if (sock_udp_send(&sock, buf, res, &remote) < 0) { * puts("Error sending reply"); @@ -380,8 +381,8 @@ int sock_udp_get_remote(sock_udp_t *sock, sock_udp_ep_t *ep); * @param[in] timeout Timeout for receive in microseconds. * If 0 and no data is available, the function returns * immediately. - * May be SOCK_NO_TIMEOUT for no timeout (wait until data - * is available). + * May be @ref SOCK_NO_TIMEOUT for no timeout (wait until + * data is available). * @param[out] remote Remote end point of the received data. * May be `NULL`, if it is not required by the application. *