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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to