Browse Source

fix wrong messages in gai_strerror

i had missed the fact that a couple values were unassigned...
rs-1.0
Rich Felker 15 years ago
parent
commit
88798393ca
  1. 2
      src/network/gai_strerror.c

2
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"

Loading…
Cancel
Save