case 'M':
n = timestring(file->modtime);
{
- char *cp = strchr(n, ' ');
- if (cp)
+ char *cp;
+ while ((cp = strchr(n, ' ')) != NULL)
*cp = '-';
}
break;
/* VANISHED is not an error, only a warning */
if (code == RERR_VANISHED) {
- rprintf(FINFO, "rsync warning: %s (code %d) at %s(%d)\n",
- name, code, file, line);
+ rprintf(FINFO, "rsync warning: %s (code %d) at %s(%d) [%s]\n",
+ name, code, file, line, who_am_i());
} else {
- rprintf(FERROR, "rsync error: %s (code %d) at %s(%d)\n",
- name, code, file, line);
+ rprintf(FERROR, "rsync error: %s (code %d) at %s(%d) [%s]\n",
+ name, code, file, line, who_am_i());
}
}
}