From 23505bf8a50ec3e9a7c1e61cafeddfe6603c6a8e Mon Sep 17 00:00:00 2001 From: Nick Chambers Date: Sat, 8 Jan 2022 02:40:25 -0600 Subject: [PATCH] Remove unnecessary whitespace --- c/decip4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c/decip4.c b/c/decip4.c index 6047ab2..13905d7 100644 --- a/c/decip4.c +++ b/c/decip4.c @@ -4,7 +4,7 @@ uint32_t numeric_ip4(const char *ip) { uint32_t octets = 0; uint8_t octet = 0; - + for(; *ip; ip += 1) { if(*ip == '.') { octets = (octets << 8) | octet; @@ -13,7 +13,7 @@ uint32_t numeric_ip4(const char *ip) { octet = (octet * 10) + (*ip - '0'); } } - + return (octets << 8) | octet; }