* Added missing "continue" as pointed out by Siarzhuk. Thanks!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34153 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-11-20 11:26:15 +00:00
parent 395fb0895f
commit d77fe260cb

View File

@ -483,8 +483,10 @@ DHCPClient::_Negotiate(dhcp_state state)
? broadcast : fServer);
}
if (status < B_OK)
if (status != B_OK)
break;
continue;
} else if (bytesReceived < B_OK)
break;
@ -634,7 +636,7 @@ DHCPClient::_ParseOptions(dhcp_message& message, BMessage& address)
BPath path;
if (find_directory(B_COMMON_SETTINGS_DIRECTORY, &path) != B_OK)
break;
path.Append("network/resolv.conf");
FILE* file = fopen(path.Path(), "w");