Network/DNSClientService: fixed missing error check.

* CID 1251065.
This commit is contained in:
Axel Dörfler
2015-04-02 11:03:58 +02:00
parent ba931975e5
commit e587c279ee
@@ -182,7 +182,9 @@ DNSSettingsView::MessageReceived(BMessage* message)
status_t
DNSSettingsView::_LoadDNSConfiguration()
{
res_init();
if (res_init() != 0)
return B_ERROR;
res_state state = __res_state();
if (state != NULL) {