Remove unnecessary whitespace
This commit is contained in:
parent
51daae4c1d
commit
23505bf8a5
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue