remove incorrect and useless check in network service name lookup code
authorRich Felker <dalias@aerifal.cx>
Fri, 5 Sep 2014 17:49:47 +0000 (13:49 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 5 Sep 2014 17:49:47 +0000 (13:49 -0400)
commit4ec2d25a6aba30781640b84160002ed3e7fee051
tree22bd5832f7430e863d08a1cc164f4db5b325736c
parent4674809bdf7a46041ac0152eea0a6363ceeca548
remove incorrect and useless check in network service name lookup code

the condition was probably intended to be !*p rather than !p, but
neither is needed here. the subsequent code naturally handles the case
where it's already at end of string.
src/network/lookup_serv.c