]> andersk Git - moira.git/commitdiff
applied the patch from [887] in moira, to fix addresses that appeared
authordanw <danw>
Wed, 21 Aug 1996 03:30:13 +0000 (03:30 +0000)
committerdanw <danw>
Wed, 21 Aug 1996 03:30:13 +0000 (03:30 +0000)
without an `@mit.edu'. (The version of pobox.gen on moira2 already has
this patch.)

gen/pobox.dc

index f0fd135a6d338dc6edfa6e8936af5ead6ce820d1..bba1e2ec09693416046349554070ed95db284da5 100644 (file)
@@ -14,6 +14,7 @@
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <ctype.h>
+#include <string.h>
 EXEC SQL INCLUDE sqlca;
 
 extern int errno;
@@ -99,6 +100,8 @@ char **argv;
                !strcasecmp(".local", string + i - 6)) {
                string[i-6] = 0;
                fprintf(out, "%s %s.mit.edu\n", id, string);
+           } else if ( !strchr(string, '@') ) {
+             fprintf(out, "%s %s@mit.edu\n", id, string);
            } else
              fprintf(out, "%s %s\n", id, string);
        }
This page took 0.032185 seconds and 5 git commands to generate.