telnetd: do not send stray \r\n before /etc/issue.net
No binary (build failed)
gcc -Wp,-MD,applets/.usage.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -Iinclude -Iinclude -o applets/usage applets/usage.c
(log yok)
| @@ -28,8 +28,6 @@ void FAST_FUNC print_login_issue(const char *issue_file, const char *tty) | |
| time(&t); | |
| uname(&uts); | |
| - | puts("\r"); /* start a new line */ |
| - | |
| fp = fopen_for_read(issue_file); | |
| if (!fp) | |
| return; | |
| @@ -471,8 +471,10 @@ static char *get_logname(void) | |
| do { | |
| /* Write issue file and prompt */ | |
| #ifdef ISSUE | |
| - | if (!(option_mask32 & F_NOISSUE)) |
| + | if (!(option_mask32 & F_NOISSUE)) { |
| + | puts("\r"); /* start a new line */ |
| print_login_issue(G.issue, G.tty_name); | |
| + | } |
| #endif | |
| print_login_prompt(); | |