diff options
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)); |