]> andersk Git - moira.git/commitdiff
If the user only supplies an MIT ID without a name, we don't love them.
authorzacheiss <zacheiss>
Tue, 1 Jul 2003 20:29:39 +0000 (20:29 +0000)
committerzacheiss <zacheiss>
Tue, 1 Jul 2003 20:29:39 +0000 (20:29 +0000)
reg_svr/reg_svr.pc

index acb65068ff6e7bc165cb693278c42a2fd7c46fcc..43e52e302592d56617046e399f3fffa93ef531a2 100644 (file)
@@ -358,6 +358,9 @@ void RIFO(reg_client *rc, int argc, char **argv)
        continue;
       if (strlen(first) > 3 && strlen(ufirst) < 3)
        continue;
+      if (!*ufirst && !*ulast)
+       continue;
+
       /* Ignore the middle name since Moira doesn't have those reliably */
       break;
     }
This page took 0.124864 seconds and 5 git commands to generate.