[BACK]Return to readconf.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/readconf.c between version 1.266 and 1.267

version 1.266, 2017/01/30 00:38:50 version 1.267, 2017/02/03 05:05:56
Line 827 
Line 827 
                 activep = &cmdline;                  activep = &cmdline;
         }          }
   
         /* Strip trailing whitespace */          /* Strip trailing whitespace. Allow \f (form feed) at EOL only */
         if ((len = strlen(line)) == 0)          if ((len = strlen(line)) == 0)
                 return 0;                  return 0;
         for (len--; len > 0; len--) {          for (len--; len > 0; len--) {
                 if (strchr(WHITESPACE, line[len]) == NULL)                  if (strchr(WHITESPACE "\f", line[len]) == NULL)
                         break;                          break;
                 line[len] = '\0';                  line[len] = '\0';
         }          }

Legend:
Removed from v.1.266  
changed lines
  Added in v.1.267