fix negated return value of ns_skiprr, breakage in related functions
authorRich Felker <dalias@aerifal.cx>
Wed, 8 Jul 2015 02:46:45 +0000 (02:46 +0000)
committerRich Felker <dalias@aerifal.cx>
Wed, 8 Jul 2015 02:46:45 +0000 (02:46 +0000)
commite8cbe0bad4284906230a53af4c91ad2b9713d03b
treeec041b63c7378848f5bfb11709131fd5995656cf
parentfb58545f8d1c5fa32122244caeaf3625c12ddc01
fix negated return value of ns_skiprr, breakage in related functions

due to a reversed pointer difference computation, ns_skiprr always
returned a negative value, which functions using it would interpret as
an error.

patch by Yu Lu.
src/network/ns_parse.c