Allow '-' character in computer name
authorHervé Poussineau <hpoussin@reactos.org>
Sat, 28 Jun 2008 13:19:18 +0000 (13:19 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Sat, 28 Jun 2008 13:19:18 +0000 (13:19 +0000)
See issue #3304 for more details.

svn path=/trunk/; revision=34153

reactos/dll/win32/kernel32/misc/computername.c

index 94b69d6..530ef33 100644 (file)
@@ -310,7 +310,6 @@ IsValidComputerName (
            *p == L')' ||
            *p == L'(' ||
            *p == L'.' ||
-           *p == L'-' ||
            *p == L'_' ||
            *p == L'{' ||
            *p == L'}' ||