X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/f29b38ef2a056daa14bbfda2fce78063faa773d4..147d0e88c4da14c801d15e0875bedb474180bea2:/communicator.cpp?ds=sidebyside diff --git a/communicator.cpp b/communicator.cpp index b78b1c3..0d724aa 100644 --- a/communicator.cpp +++ b/communicator.cpp @@ -50,7 +50,7 @@ void communicator::send(m_task_t task, const std::string& dest) } m_task_t communicator::recv() -{ +{ m_task_t task = NULL; if (comm_test_n_destroy(recv_comm)) { task = recv_task;