Added a debug message in execute_disposition

This commit is contained in:
Michiel Broek 2005-10-01 14:41:30 +00:00
parent 7f7dfe80da
commit 1fd9c3d877
2 changed files with 5 additions and 0 deletions

View File

@ -6,6 +6,9 @@ v0.71.7 12-Sep-2005
script:
The installinit script now recognizes Fedora Core.
mbcico:
Added a debug message in execute_disposition
v0.71.6 02-Sep-2005 - 12-Sep-2005

View File

@ -613,6 +613,8 @@ void execute_disposition(file_list *fl)
if (fseek(fl->flofp, fl->floff, 0) == 0) {
if (fwrite(&tpl,1,1,fl->flofp) != 1) {
WriteError("$Error writing '~' to .flo at %lu", (unsigned long)fl->floff);
} else {
Syslog('o', "Marked file \"%s\" as sent", MBSE_SS(nm));
}
fflush(fl->flofp);
#ifdef HAVE_FDATASYNC