remove unintended commit of issue-code

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3502 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-09-17 19:30:15 +00:00
parent 2c71d0405b
commit 7c164dc23c

View File

@@ -1329,20 +1329,6 @@ void start_login(char *host, int autologin, char *name)
* USER value will be wrong.
*/
unsetenv("USER");
{
FILE *f;
char buf[1024];
if((f = fopen("/etc/issue.net", "r")) ||
(f = fopen("/etc/issue", "r"))){
while(fgets(buf, sizeof(buf) - 1, f)){
char *p = buf + strlen(buf) - 1;
if(p[0] == '\n' && (p == buf || p[-1] != '\r'))
strcpy(p, "\r\n");
fputs(buf, stdout);
}
fclose(f);
}
}
}
closelog();
/*