[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.67 and 1.68

version 1.67, 2005/09/13 23:40:07 version 1.68, 2005/10/31 06:15:04
Line 692 
Line 692 
         }          }
   
         if (lflag & SORT_FLAGS) {          if (lflag & SORT_FLAGS) {
                   for (n = 0; d[n] != NULL; n++)
                           ;       /* count entries */
                 sort_flag = lflag & (SORT_FLAGS|LS_REVERSE_SORT);                  sort_flag = lflag & (SORT_FLAGS|LS_REVERSE_SORT);
                 qsort(d, n, sizeof(*d), sdirent_comp);                  qsort(d, n, sizeof(*d), sdirent_comp);
         }          }

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.68