Browse Source

fix gcc warning with -Wmisleading-indentation

Waldemar Brodkorb 6 years ago
parent
commit
557fee033e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/inet/inet_net.c

+ 1 - 1
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