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:
Clemens Zeidler 2011-03-04 21:31:11 +00:00
parent fca835f134
commit c8057498b3

View File

@ -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;