X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmsgbase.c;h=87a01d63cf8e7a583483ad34e03c314c9d4f2cbf;hb=a81ad4c588e3c0318af73c61f94567cf3f4b87ac;hp=2324ee694b67dbd7f2c2c97230e20e8527711209;hpb=7d48a403f792b4b0fb82e64d9f57a90fbc1b1933;p=citadel.git diff --git a/citadel/msgbase.c b/citadel/msgbase.c index 2324ee694..87a01d63c 100644 --- a/citadel/msgbase.c +++ b/citadel/msgbase.c @@ -4334,7 +4334,7 @@ int TDAP_ProcessAdjRefCountQueue(void) struct arcq arcq_rec; int num_records_processed = 0; - snprintf(file_arcq_temp, sizeof file_arcq_temp, "%s2", file_arcq); + snprintf(file_arcq_temp, sizeof file_arcq_temp, "%s.%04x", file_arcq, rand()); begin_critical_section(S_SUPPMSGMAIN); if (arcfp != NULL) { @@ -4397,7 +4397,7 @@ void TDAP_AdjRefCount(long msgnum, int incr) smi.meta_refcount += incr; PutMetaData(&smi); end_critical_section(S_SUPPMSGMAIN); - CtdlLogPrintf(CTDL_DEBUG, "msg %ld ref count delta %d, is now %d\n", + CtdlLogPrintf(CTDL_DEBUG, "msg %ld ref count delta %+d, is now %d\n", msgnum, incr, smi.meta_refcount); /* If the reference count is now zero, delete the message