]> andersk Git - moira.git/commitdiff
don't try to resolve usernames longer than 8 chars
authormar <mar>
Thu, 30 Sep 1993 16:01:35 +0000 (16:01 +0000)
committermar <mar>
Thu, 30 Sep 1993 16:01:35 +0000 (16:01 +0000)
server/cache.dc

index 2cbdc723f68393b0eeb3ed50319450d2081baba0..85b0688be729c23c53e85a8e2681fd9c7e7ea3dc 100644 (file)
@@ -138,7 +138,7 @@ int *id;
     switch (*type) {
     case 'U':
     case 'u':
-       if (index(iname, '@')) {
+       if (index(iname, '@') || (strlen(iname) > 8)) {
            sqlca.sqlcode = 100;
            break;
        }
This page took 0.044353 seconds and 5 git commands to generate.