]> git.ipfire.org Git - thirdparty/systemd.git/commit
nss-resolve: simplify error handling
authorMartin Pitt <martin.pitt@ubuntu.com>
Fri, 16 Sep 2016 08:57:06 +0000 (10:57 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Sat, 1 Oct 2016 14:43:29 +0000 (16:43 +0200)
commit46c7a7ac874fd97e28d8d7e0be15f2bf15b2a430
tree3277a3e9c6cb5cf86541b996d179868a2f6485f1
parent5fd2c135f1fd6b5147de54531940f398c6213b0c
nss-resolve: simplify error handling

Handle general errors from the resolved call in _nss_resolve_gethostbyaddr2_r()
the same say as in the other variants: Just "goto fail" as that does exactly
the same.
src/nss-resolve/nss-resolve.c