=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/oldrdist/Attic/docmd.c,v retrieving revision 1.18 retrieving revision 1.19 diff -c -r1.18 -r1.19 *** src/usr.bin/oldrdist/Attic/docmd.c 2003/06/03 02:56:14 1.18 --- src/usr.bin/oldrdist/Attic/docmd.c 2004/01/16 01:12:35 1.19 *************** *** 1,4 **** ! /* $OpenBSD: docmd.c,v 1.18 2003/06/03 02:56:14 millert Exp $ */ /* * Copyright (c) 1983, 1993 --- 1,4 ---- ! /* $OpenBSD: docmd.c,v 1.19 2004/01/16 01:12:35 espie Exp $ */ /* * Copyright (c) 1983, 1993 *************** *** 31,37 **** #ifndef lint /* from: static char sccsid[] = "@(#)docmd.c 8.1 (Berkeley) 6/9/93"; */ ! static char *rcsid = "$OpenBSD: docmd.c,v 1.18 2003/06/03 02:56:14 millert Exp $"; #endif /* not lint */ #include "defs.h" --- 31,37 ---- #ifndef lint /* from: static char sccsid[] = "@(#)docmd.c 8.1 (Berkeley) 6/9/93"; */ ! static char *rcsid = "$OpenBSD: docmd.c,v 1.19 2004/01/16 01:12:35 espie Exp $"; #endif /* not lint */ #include "defs.h" *************** *** 193,199 **** nextihead = ihead->nextp; if ((opts & IGNLNKS) || ihead->count == 0) continue; ! log(lfp, "%s: Warning: missing links\n", ihead->pathname); free(ihead); } --- 193,199 ---- nextihead = ihead->nextp; if ((opts & IGNLNKS) || ihead->count == 0) continue; ! logit(lfp, "%s: Warning: missing links\n", ihead->pathname); free(ihead); } *************** *** 328,334 **** { if (iamremote) cleanup(0); ! log(lfp, "rdist: lost connection\n"); if (rem >= 0) { (void) close(rem); rem = -1; --- 328,334 ---- { if (iamremote) cleanup(0); ! logit(lfp, "rdist: lost connection\n"); if (rem >= 0) { (void) close(rem); rem = -1; *************** *** 480,486 **** } if (stb.st_mtime > lastmod) ! log(tfp, "new: %s\n", name); } static void --- 480,486 ---- } if (stb.st_mtime > lastmod) ! logit(tfp, "new: %s\n", name); } static void