X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=octopi%2Flibrary%2Fcromp%2Fcromp_common.cpp;fp=octopi%2Flibrary%2Fcromp%2Fcromp_common.cpp;h=0aeb2e6946c660254909dcc870d18e8de0eabcb9;hb=51d71c226be424b6a698c7474d237e8c69661af5;hp=107d92ae337fa30d69239fef63e2338c4edfdb0b;hpb=cdf68a53cff76449796a3aa0222e2d0afff97c7c;p=feisty_meow.git diff --git a/octopi/library/cromp/cromp_common.cpp b/octopi/library/cromp/cromp_common.cpp index 107d92ae..0aeb2e69 100644 --- a/octopi/library/cromp/cromp_common.cpp +++ b/octopi/library/cromp/cromp_common.cpp @@ -140,7 +140,7 @@ cromp_common::cromp_common(const astring &host, int max_per_ent) _still_flat(new byte_array(CROMP_BUFFER_CHUNK_SIZE, NIL)), _last_cleanup(new time_stamp) { -// FUNCDEF("constructor [host/max_per_ent]"); + FUNCDEF("constructor [host/max_per_ent]"); // clear pre-existing space. _accumulator->reset(); _sendings->reset(); @@ -179,7 +179,7 @@ cromp_common::cromp_common(spocket *preexisting, octopus *singleton) cromp_common::~cromp_common() { -// FUNCDEF("destructor"); + FUNCDEF("destructor"); close_common(); // shuts down our socket and other stuff. if (_singleton) { _singleton = NIL; // reset the pointer we had. @@ -277,7 +277,7 @@ void cromp_common::max_bytes_per_entity(int max_bytes_per_entity) void cromp_common::conditional_cleaning() { -// FUNCDEF("conditional_cleaning"); + FUNCDEF("conditional_cleaning"); if (time_stamp(-CLEANUP_INTERVAL) > *_last_cleanup) { _requests->clean_out_deadwood(); // flush any items that are too old. @@ -500,7 +500,7 @@ outcome cromp_common::send_buffer() outcome cromp_common::retrieve_and_restore_root(bool get_anything, infoton * &item, octopus_request_id &req_id, int timeout) { -// FUNCDEF("retrieve_and_restore_root"); + FUNCDEF("retrieve_and_restore_root"); item = NIL; if (!_commlink) return BAD_INPUT; // they haven't opened this yet. octopus_request_id tmp_id;