diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-06-06 21:35:36 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-06-06 21:35:36 +0200 |
commit | 557fee033eb0bc2f82df2b139aba4c78ef14361e (patch) | |
tree | 60eff8407fbdce4f956ed30013f8bf7ec8e9c371 /libc/inet | |
parent | 526747a2bf6193f784a578b0b97cffaccb44e3df (diff) |
fix gcc warning with -Wmisleading-indentation
Diffstat (limited to 'libc/inet')
-rw-r--r-- | libc/inet/inet_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/inet_net.c b/libc/inet/inet_net.c index a1d2b3d85..0f367ad67 100644 --- a/libc/inet/inet_net.c +++ b/libc/inet/inet_net.c @@ -69,7 +69,7 @@ inet_network(const char *cp) if (isdigit(c)) { if (base == 8 && c > '7') return (INADDR_NONE); - val = val * base + c - '0'; + val = val * base + c - '0'; } else if (base == 16 && isxdigit(c)) val = (val << 4) + 10 - (islower(c) ? 'a' : 'A'); else |