X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/bd22473af75d88534ad185f987fbeda27374d773..refs/heads/qvalidate:/regtape/employee.pc diff --git a/regtape/employee.pc b/regtape/employee.pc index c9a10ded..ab181ad0 100644 --- a/regtape/employee.pc +++ b/regtape/employee.pc @@ -64,7 +64,6 @@ struct entry { char *address; char *phone; char *phone2; - char *email; }; @@ -159,7 +158,7 @@ struct entry *get_next_entry(in) FILE *in; { static struct entry e; - static char buf[BUFSIZ], mid[16], eid[16], email[256]; + static char buf[BUFSIZ], mid[16], eid[16]; static char name[LEN_NAME+1], sname[LEN_NAME+1], id[LEN_ID+1]; static char office[LEN_OFFICE+1], phone[LEN_PHONE+1], phone2[LEN_PHONE2+1]; static char dept[LEN_DEPT+1], title[LEN_TITLE+1], username[LEN_USERNAME+1]; @@ -228,11 +227,6 @@ FILE *in; if (substr(e.title, "PROF") || substr(e.title, "LECTURE")) e.class = "FACULTY"; - strcpy(email, strtrim(username)); - if (host[0] == '@') - strncat(email, strtrim(host)); - e.email = email; - return(&e); }