Explorar o código

fix gcc warning with -Wmisleading-indentation

Waldemar Brodkorb %!s(int64=7) %!d(string=hai) anos
pai
achega
557fee033e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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