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

Diff for /src/usr.bin/rdistd/server.c between version 1.15 and 1.16

version 1.15, 2003/06/03 02:56:15 version 1.16, 2003/07/07 14:39:26
Line 1182 
Line 1182 
         }          }
   
         uptodate = 0;          uptodate = 0;
         if ((i = readlink(target, tbuf, sizeof(tbuf))) != -1) {          if ((i = readlink(target, tbuf, sizeof(tbuf)-1)) != -1) {
                 tbuf[i] = '\0';                  tbuf[i] = '\0';
                 if (i == size && strncmp(buf, tbuf, (int) size) == 0)                  if (i == size && strncmp(buf, tbuf, (int) size) == 0)
                         uptodate = 1;                          uptodate = 1;

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16