]> code.citadel.org Git - citadel.git/blobdiff - citadel/server/modules/nntp/serv_nntp.c
Marked code that will require some rework for LMDB.
[citadel.git] / citadel / server / modules / nntp / serv_nntp.c
index ef305d50f45ad932ddf27e728dac35e2ba656d9d..4c6daaf5ef85bcef8a37aed1a86c94aadd761b69 100644 (file)
@@ -322,7 +322,7 @@ struct nntp_msglist nntp_fetch_msglist(struct ctdlroom *qrbuf) {
        cdbfr = cdb_fetch(CDB_MSGLISTS, &qrbuf->QRnumber, sizeof(long));
        if (cdbfr != NULL) {
                nm.msgnums = (long*)cdbfr->ptr;
-               cdbfr->ptr = NULL;
+               cdbfr->ptr = NULL;                      // (this needs attention if we move to LMDB)
                nm.num_msgs = cdbfr->len / sizeof(long);
                cdbfr->len = 0;
                cdb_free(cdbfr);