projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66570ec
)
remove dead case in gethostbyname2_r
author
Daniel Sabogal
<dsabogalcc@gmail.com>
Sat, 24 Sep 2016 04:38:06 +0000
(
00:38
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 24 Sep 2016 05:09:31 +0000
(
01:09
-0400)
this case statement was accidently left behind when this function
was refactored in commit
e8f39ca4898237cf71657500f0b11534c47a0521
.
src/network/gethostbyname2_r.c
patch
|
blob
|
history
diff --git
a/src/network/gethostbyname2_r.c
b/src/network/gethostbyname2_r.c
index 5c1cae98f3f741e17cf5bd44624ea3542bc0c838..fc8948776d35ff7200c4139b8cf7885169e31cfd 100644
(file)
--- a/
src/network/gethostbyname2_r.c
+++ b/
src/network/gethostbyname2_r.c
@@
-34,8
+34,6
@@
int gethostbyname2_r(const char *name, int af,
case EAI_SYSTEM:
*err = NO_RECOVERY;
return errno;
- case 0:
- break;
}
h->h_addrtype = af;