X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/4875a2f2ad219d4f1ebd94b39d86272177760567..205d7a7a1b84d22f885579108d6e0f015c1454a6:/process.cpp?ds=inline diff --git a/process.cpp b/process.cpp index 9959376..57c0661 100644 --- a/process.cpp +++ b/process.cpp @@ -315,10 +315,10 @@ void process::finalize() std::for_each(neigh.begin(), neigh.end(), bind(&process::finalize1, this, _1)); - DEBUG2("wait for CLOSE from %lu neighbor%s", - (unsigned long )neigh.size(), ESSE(neigh.size())); while (may_receive()) { comm.flush(false); + DEBUG2("waiting for %d CTRL and %d DATA CLOSE", + ctrl_close_pending, data_close_pending); receive(-1.0); }