fix getservby*() with null pointer for protocol argument
authorRich Felker <dalias@aerifal.cx>
Sun, 15 Jul 2012 00:16:23 +0000 (20:16 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 15 Jul 2012 00:16:23 +0000 (20:16 -0400)
commit06650b968461b72d5eb44063dd68c176be330372
treecb3bb5ea46b47d8cd87dbb730caa4711a815859e
parent7be3b5a073e77f1147acfa728725f9f81d20ceb0
fix getservby*() with null pointer for protocol argument

not sure this is the best fix but it should work
src/network/getservbyname_r.c
src/network/getservbyport_r.c