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
@ -475,7 +475,7 @@ put(int argc, char *argv[])
|
|||||||
lcp[strlen(lcp) - 1] = '\0';
|
lcp[strlen(lcp) - 1] = '\0';
|
||||||
lcp++;
|
lcp++;
|
||||||
}
|
}
|
||||||
setpeer0(lcp, NULL);
|
setpeer0(lcp, NULL);
|
||||||
}
|
}
|
||||||
if (!connected) {
|
if (!connected) {
|
||||||
printf("No target machine specified.\n");
|
printf("No target machine specified.\n");
|
||||||
@ -735,11 +735,11 @@ command(bool interactive, EditLine *el, History *hist, HistEvent *hep)
|
|||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
if (interactive) {
|
if (interactive) {
|
||||||
if ((bp = el_gets(el, &num)) == NULL || num == 0)
|
if ((bp = el_gets(el, &num)) == NULL || num == 0)
|
||||||
exit(0);
|
exit(0);
|
||||||
len = MIN(MAXLINE, num);
|
len = MIN(MAXLINE, num);
|
||||||
memcpy(line, bp, len);
|
memcpy(line, bp, len);
|
||||||
line[len] = '\0';
|
line[len] = '\0';
|
||||||
history(hist, hep, H_ENTER, bp);
|
history(hist, hep, H_ENTER, bp);
|
||||||
} else {
|
} else {
|
||||||
line[0] = 0;
|
line[0] = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user