Explorar o código

fix wrong messages in gai_strerror

i had missed the fact that a couple values were unassigned...
Rich Felker %!s(int64=13) %!d(string=hai) anos
pai
achega
88798393ca
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/network/gai_strerror.c

+ 2 - 0
src/network/gai_strerror.c

@@ -5,9 +5,11 @@ static const char msgs[] =
 	"Name does not resolve\0"
 	"Try again\0"
 	"Non-recoverable error\0"
+	"Unknown error\0"
 	"Unrecognized address family or invalid length\0"
 	"Unrecognized socket type\0"
 	"Unrecognized service\0"
+	"Unknown error\0"
 	"Out of memory\0"
 	"System error\0"
 	"Overflow\0"