version 1.18, 2003/06/03 02:56:14 |
version 1.19, 2004/01/16 01:12:35 |
|
|
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); |
} |
} |
|
|
{ |
{ |
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; |
|
|
} |
} |
|
|
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 |