Update for double filerecord announces
This commit is contained in:
parent
4e6a5d5e33
commit
27822b7d24
@ -43,6 +43,7 @@ v0.51.4 11-Apr-2004
|
|||||||
More debug logging info added for double filename announces.
|
More debug logging info added for double filename announces.
|
||||||
Added new experimental files database code which will only be
|
Added new experimental files database code which will only be
|
||||||
used if configured with --enable-experiment.
|
used if configured with --enable-experiment.
|
||||||
|
Another small change for double filename announces.
|
||||||
|
|
||||||
mbfile:
|
mbfile:
|
||||||
The toberep command now logs the toberep.data in the debug
|
The toberep command now logs the toberep.data in the debug
|
||||||
|
@ -70,7 +70,7 @@ int Add_ToBeRep(struct _filerecord report)
|
|||||||
rc = fseek(tbr, - sizeof(Temp), SEEK_CUR);
|
rc = fseek(tbr, - sizeof(Temp), SEEK_CUR);
|
||||||
Syslog('f', "fseek rc=%d, size=%d", rc, sizeof(Temp));
|
Syslog('f', "fseek rc=%d, size=%d", rc, sizeof(Temp));
|
||||||
Syslog('f', "Position before update is now %d", ftell(tbr));
|
Syslog('f', "Position before update is now %d", ftell(tbr));
|
||||||
rc = fwrite(&report, sizeof(report), 1, tbr);
|
rc = fwrite(&report, sizeof(Temp), 1, tbr);
|
||||||
Syslog('f', "Written %d, position after update is now %d", rc, ftell(tbr));
|
Syslog('f', "Written %d, position after update is now %d", rc, ftell(tbr));
|
||||||
fclose(tbr);
|
fclose(tbr);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
Reference in New Issue
Block a user