One more sanity check.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40810 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fca835f134
commit
c8057498b3
@ -245,6 +245,9 @@ DNSTools::ConvertToDNSName(const BString& string)
|
||||
BString
|
||||
DNSTools::ConvertFromDNSName(const BString& string)
|
||||
{
|
||||
if (string.Length() == 0)
|
||||
return string;
|
||||
|
||||
BString outString = string;
|
||||
int32 dot = string[0];
|
||||
int32 nextDot = dot;
|
||||
|
Loading…
Reference in New Issue
Block a user