destroy_network_queue_room() is now called via the cleanup hook mechanism.
[citadel.git] / citadel / modules / expire / serv_expire.c
index d6f2c9b6fed859ef36ec370e342baa183ca99088..ee41a5f84f4546a19745ff799875732024db988d 100644 (file)
@@ -622,6 +622,11 @@ int PurgeUseTable(void) {
        cdb_rewind(CDB_USETABLE);
        while(cdbut = cdb_next_item(CDB_USETABLE), cdbut != NULL) {
 
+       /*
+        * TODODRW: change this to create a new function time_t cdb_get_timestamp( struct cdbdata *)
+        * this will release this file from the serv_network.h
+        * Maybe it could be a macro that extracts and casts the reult
+        */
                 memcpy(&ut, cdbut->ptr,
                        ((cdbut->len > sizeof(struct UseTable)) ?
                         sizeof(struct UseTable) : cdbut->len));