[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.228 and 1.229

version 1.228, 2023/03/08 06:21:32 version 1.229, 2023/03/12 09:41:18
Line 980 
Line 980 
          */           */
         for (nentries = 0; g.gl_pathv[nentries] != NULL; nentries++)          for (nentries = 0; g.gl_pathv[nentries] != NULL; nentries++)
                 ;       /* count entries */                  ;       /* count entries */
         indices = calloc(nentries, sizeof(*indices));          indices = xcalloc(nentries, sizeof(*indices));
         for (i = 0; i < nentries; i++)          for (i = 0; i < nentries; i++)
                 indices[i] = i;                  indices[i] = i;
   

Legend:
Removed from v.1.228  
changed lines
  Added in v.1.229