From 557fee033eb0bc2f82df2b139aba4c78ef14361e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 6 Jun 2017 21:35:36 +0200 Subject: fix gcc warning with -Wmisleading-indentation --- libc/inet/inet_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/inet') 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 -- cgit v1.2.3