X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ea9cce21b6d3f37823143217f1ca183bb2f0c9ac..0fbb2ce49d807800629638bb182ef8cc159a77bf:/src/mc/mc_protocol.cpp diff --git a/src/mc/mc_protocol.cpp b/src/mc/mc_protocol.cpp index 2e5ffd3eb6..09b3227a99 100644 --- a/src/mc/mc_protocol.cpp +++ b/src/mc/mc_protocol.cpp @@ -19,7 +19,7 @@ extern "C" { XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_protocol, mc, "Generic MC protocol logic"); -int MC_protocol_send(int socket, void* message, size_t size) +int MC_protocol_send(int socket, const void* message, size_t size) { XBT_DEBUG("Protocol [%s] send %s", MC_mode_name(mc_mode), @@ -119,8 +119,6 @@ const char* MC_mode_name(e_mc_mode_t mode) switch(mode) { case MC_MODE_NONE: return "NONE"; - case MC_MODE_STANDALONE: - return "STANDALONE"; case MC_MODE_CLIENT: return "CLIENT"; case MC_MODE_SERVER: