From 7e8e312e1b5f611e4fec6aac5d570126165c5627 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Fri, 25 Aug 2023 16:18:35 -0300 Subject: [PATCH] Fix example --- README.md | 2 +- share/isinetaddr/examples/IPv4.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 79f4da7..091f119 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ main(void) const int i = sizeof(strings) / sizeof(strings[0]); for (int j = 0; j < i; j++) { str = strings[j]; - if(isinetaddr(str)) { + if (isinetaddr(str)) { printf("%s is a valid IPv4 address\n", str); } else { printf("%s is an invalid IPv4 address\n", str); diff --git a/share/isinetaddr/examples/IPv4.c b/share/isinetaddr/examples/IPv4.c index f3d51a4..9ba6e67 100644 --- a/share/isinetaddr/examples/IPv4.c +++ b/share/isinetaddr/examples/IPv4.c @@ -14,7 +14,7 @@ main(void) const int i = sizeof(strings) / sizeof(strings[0]); for (int j = 0; j < i; j++) { str = strings[j]; - if(isinetaddr(str)) { + if (isinetaddr(str)) { printf("%s is a valid IPv4 address\n", str); } else { printf("%s is an invalid IPv4 address\n", str);