[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.10 and 1.11

version 1.10, 1997/11/16 18:51:59 version 1.11, 1998/04/26 17:55:46
Line 192 
Line 192 
                 if (sc->sc_type == NOTIFY)                  if (sc->sc_type == NOTIFY)
                         notify(tempfile, rhost, sc->sc_args, 0);                          notify(tempfile, rhost, sc->sc_args, 0);
         if (!nflag) {          if (!nflag) {
                   struct linkbuf *nextihead;
   
                 (void) unlink(tempfile);                  (void) unlink(tempfile);
                 for (; ihead != NULL; ihead = ihead->nextp) {                  for (; ihead != NULL; ihead = nextihead) {
                         free(ihead);                          nextihead = ihead->nextp;
                         if ((opts & IGNLNKS) || ihead->count == 0)                          if ((opts & IGNLNKS) || ihead->count == 0)
                                 continue;                                  continue;
                         log(lfp, "%s: Warning: missing links\n",                          log(lfp, "%s: Warning: missing links\n",
                                 ihead->pathname);                                  ihead->pathname);
                           free(ihead);
                 }                  }
         }          }
 }  }

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11