Browse Source

fix wrong messages in gai_strerror

i had missed the fact that a couple values were unassigned...
Rich Felker 13 năm trước cách đây
mục cha
commit
88798393ca
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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"
 	"Name does not resolve\0"
 	"Try again\0"
 	"Try again\0"
 	"Non-recoverable error\0"
 	"Non-recoverable error\0"
+	"Unknown error\0"
 	"Unrecognized address family or invalid length\0"
 	"Unrecognized address family or invalid length\0"
 	"Unrecognized socket type\0"
 	"Unrecognized socket type\0"
 	"Unrecognized service\0"
 	"Unrecognized service\0"
+	"Unknown error\0"
 	"Out of memory\0"
 	"Out of memory\0"
 	"System error\0"
 	"System error\0"
 	"Overflow\0"
 	"Overflow\0"