Remove unnecessary whitespace

This commit is contained in:
Nick Chambers 2022-01-08 02:40:25 -06:00
parent 51daae4c1d
commit 23505bf8a5
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}