Added debug logging
This commit is contained in:
parent
e8b540a263
commit
a48d088da9
@ -26,6 +26,8 @@ v0.61.4 11-Aug-2004
|
|||||||
|
|
||||||
libdbase.a:
|
libdbase.a:
|
||||||
The files database is moved from ~/fdb to ~/var/fdb.
|
The files database is moved from ~/fdb to ~/var/fdb.
|
||||||
|
Added debug logging to dbfdb to find the problem with not
|
||||||
|
cleaned magic aliases.
|
||||||
|
|
||||||
mbcico:
|
mbcico:
|
||||||
Removed a little debug logging.
|
Removed a little debug logging.
|
||||||
|
@ -248,6 +248,7 @@ int mbsedb_InsertFDB(struct _fdbarea *fdb_area, struct FILE_record frec, int Add
|
|||||||
* the old one.
|
* the old one.
|
||||||
*/
|
*/
|
||||||
if (strlen(frec.Magic) && (strcmp(fdb.Magic, frec.Magic) == 0)) {
|
if (strlen(frec.Magic) && (strcmp(fdb.Magic, frec.Magic) == 0)) {
|
||||||
|
Syslog('f', "Clear magic %s file %s", fdb.Magic, fdb.LName);
|
||||||
memset(&fdb.Magic, 0, sizeof(fdb.Magic));
|
memset(&fdb.Magic, 0, sizeof(fdb.Magic));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -276,6 +277,7 @@ int mbsedb_InsertFDB(struct _fdbarea *fdb_area, struct FILE_record frec, int Add
|
|||||||
* the old one.
|
* the old one.
|
||||||
*/
|
*/
|
||||||
if (strlen(frec.Magic) && (strcmp(fdb.Magic, frec.Magic) == 0)) {
|
if (strlen(frec.Magic) && (strcmp(fdb.Magic, frec.Magic) == 0)) {
|
||||||
|
Syslog('f', "Clear magic %s file %s", fdb.Magic, fdb.LName);
|
||||||
memset(&fdb.Magic, 0, sizeof(fdb.Magic));
|
memset(&fdb.Magic, 0, sizeof(fdb.Magic));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user