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