Date: Fri, 9 Feb 2018 20:00:52 +0000 (UTC) From: Conrad Meyer <cem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329079 - head/usr.bin/tftp Message-ID: <201802092000.w19K0qdb044072@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cem Date: Fri Feb 9 20:00:51 2018 New Revision: 329079 URL: https://svnweb.freebsd.org/changeset/base/329079 Log: tftp(1): Clean up leading and trailing whitespace Whitespace-only change. Sponsored by: Dell EMC Isilon Modified: head/usr.bin/tftp/main.c Modified: head/usr.bin/tftp/main.c ============================================================================== --- head/usr.bin/tftp/main.c Fri Feb 9 19:50:47 2018 (r329078) +++ head/usr.bin/tftp/main.c Fri Feb 9 20:00:51 2018 (r329079) @@ -475,7 +475,7 @@ put(int argc, char *argv[]) lcp[strlen(lcp) - 1] = '\0'; lcp++; } - setpeer0(lcp, NULL); + setpeer0(lcp, NULL); } if (!connected) { printf("No target machine specified.\n"); @@ -735,11 +735,11 @@ command(bool interactive, EditLine *el, History *hist, 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802092000.w19K0qdb044072>