diff options
author | Daiki Ueno <ueno@gnu.org> | 2023-04-24 12:39:42 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2023-04-24 12:45:46 +0900 |
commit | aa5950abab56b011331ad4331409b6ff8efb8aeb (patch) | |
tree | ad363fb38e8b65c942876641cda9c76caa13b498 /doc/examples/udp.c | |
parent | 0fe9cb6842d63761718046cc7dd7eb437e6c5163 (diff) | |
download | gnutls-aa5950abab56b011331ad4331409b6ff8efb8aeb.tar.gz |
build: re-indent code
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'doc/examples/udp.c')
-rw-r--r-- | doc/examples/udp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/examples/udp.c b/doc/examples/udp.c index beded4d0d1..09181afa0f 100644 --- a/doc/examples/udp.c +++ b/doc/examples/udp.c @@ -1,7 +1,7 @@ /* This example code is placed in the public domain. */ #ifdef HAVE_CONFIG_H -# include <config.h> +#include <config.h> #endif #include <stdio.h> @@ -41,12 +41,12 @@ extern int udp_connect(void) #if defined(IP_DONTFRAG) optval = 1; - setsockopt(sd, IPPROTO_IP, IP_DONTFRAG, - (const void *)&optval, sizeof(optval)); + setsockopt(sd, IPPROTO_IP, IP_DONTFRAG, (const void *)&optval, + sizeof(optval)); #elif defined(IP_MTU_DISCOVER) optval = IP_PMTUDISC_DO; - setsockopt(sd, IPPROTO_IP, IP_MTU_DISCOVER, - (const void *)&optval, sizeof(optval)); + setsockopt(sd, IPPROTO_IP, IP_MTU_DISCOVER, (const void *)&optval, + sizeof(optval)); #endif err = connect(sd, (struct sockaddr *)&sa, sizeof(sa)); |