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

Diff for /src/usr.bin/oldrdist/Attic/docmd.c between version 1.18 and 1.19

version 1.18, 2003/06/03 02:56:14 version 1.19, 2004/01/16 01:12:35
Line 193 
Line 193 
                         nextihead = ihead->nextp;                          nextihead = ihead->nextp;
                         if ((opts & IGNLNKS) || ihead->count == 0)                          if ((opts & IGNLNKS) || ihead->count == 0)
                                 continue;                                  continue;
                         log(lfp, "%s: Warning: missing links\n",                          logit(lfp, "%s: Warning: missing links\n",
                                 ihead->pathname);                                  ihead->pathname);
                         free(ihead);                          free(ihead);
                 }                  }
Line 328 
Line 328 
 {  {
         if (iamremote)          if (iamremote)
                 cleanup(0);                  cleanup(0);
         log(lfp, "rdist: lost connection\n");          logit(lfp, "rdist: lost connection\n");
         if (rem >= 0) {          if (rem >= 0) {
                 (void) close(rem);                  (void) close(rem);
                 rem = -1;                  rem = -1;
Line 480 
Line 480 
         }          }
   
         if (stb.st_mtime > lastmod)          if (stb.st_mtime > lastmod)
                 log(tfp, "new: %s\n", name);                  logit(tfp, "new: %s\n", name);
 }  }
   
 static void  static void

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19