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

Diff for /src/usr.bin/ssh/sftp.c between version 1.117 and 1.118

version 1.117, 2010/01/08 21:50:49 version 1.118, 2010/01/09 11:13:02
Line 1089 
Line 1089 
         /* Skip leading whitespace */          /* Skip leading whitespace */
         cp = cp + strspn(cp, WHITESPACE);          cp = cp + strspn(cp, WHITESPACE);
   
         /* Ignore blank lines and lines which begin with comment '#' char */  
         if (*cp == '\0' || *cp == '#')  
                 return (0);  
   
         /* Check for leading '-' (disable error processing) */          /* Check for leading '-' (disable error processing) */
         *iflag = 0;          *iflag = 0;
         if (*cp == '-') {          if (*cp == '-') {
                 *iflag = 1;                  *iflag = 1;
                 cp++;                  cp++;
                   cp = cp + strspn(cp, WHITESPACE);
         }          }
   
           /* Ignore blank lines and lines which begin with comment '#' char */
           if (*cp == '\0' || *cp == '#')
                   return (0);
   
         if ((argv = makeargv(cp, &argc, 0, NULL, NULL)) == NULL)          if ((argv = makeargv(cp, &argc, 0, NULL, NULL)) == NULL)
                 return -1;                  return -1;

Legend:
Removed from v.1.117  
changed lines
  Added in v.1.118