print textual name of messages exchanged.

This commit is contained in:
Nikos Mavrogiannopoulos
2014-01-12 18:23:29 +01:00
parent 39572b3d48
commit 823190475b
7 changed files with 42 additions and 9 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ inline static
int send_msg_to_main(worker_st *ws, uint8_t cmd,
const void* msg, pack_size_func get_size, pack_func pack)
{
oclog(ws, LOG_DEBUG, "sending message %u to main", (unsigned)cmd);
oclog(ws, LOG_DEBUG, "sending message '%s' to main", cmd_request_to_str(cmd));
return send_msg(ws->cmd_fd, cmd, msg, get_size, pack);
}