git-svn-id: https://profuse.googlecode.com/svn/branches/v2@123 aa027e90-d47c-11dd-86d7-074df07e0730

This commit is contained in:
ksherlock
2009-11-28 23:22:37 +00:00
parent da22eb1114
commit b3334ac210
5 changed files with 21 additions and 16 deletions
+5 -1
View File
@@ -52,7 +52,11 @@ unsigned Entry::ValidName(const char *name)
for (length = 1; length < 17; ++length)
{
if (!isalnumdot(name[length])) return 0;
char c = name[length];
if (isalnumdot(c)) continue;
if (c == 0) break;
return 0;
}
if (length > 15) return 0;