tftp(1): Clean up leading and trailing whitespace
Whitespace-only change. Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
13a025d5d8
commit
51adff9318
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=329079
@ -735,11 +735,11 @@ command(bool interactive, EditLine *el, History *hist, HistEvent *hep)
|
||||
|
||||
for (;;) {
|
||||
if (interactive) {
|
||||
if ((bp = el_gets(el, &num)) == NULL || num == 0)
|
||||
exit(0);
|
||||
len = MIN(MAXLINE, num);
|
||||
memcpy(line, bp, len);
|
||||
line[len] = '\0';
|
||||
if ((bp = el_gets(el, &num)) == NULL || num == 0)
|
||||
exit(0);
|
||||
len = MIN(MAXLINE, num);
|
||||
memcpy(line, bp, len);
|
||||
line[len] = '\0';
|
||||
history(hist, hep, H_ENTER, bp);
|
||||
} else {
|
||||
line[0] = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user