[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.141 and 1.142

version 1.141, 2012/10/05 12:34:39 version 1.142, 2013/02/08 00:41:12
Line 1122 
Line 1122 
   
         /* Figure out which command we have */          /* Figure out which command we have */
         for (i = 0; cmds[i].c != NULL; i++) {          for (i = 0; cmds[i].c != NULL; i++) {
                 if (strcasecmp(cmds[i].c, argv[0]) == 0)                  if (argv[0] != NULL && strcasecmp(cmds[i].c, argv[0]) == 0)
                         break;                          break;
         }          }
         cmdnum = cmds[i].n;          cmdnum = cmds[i].n;

Legend:
Removed from v.1.141  
changed lines
  Added in v.1.142