mu/cmd: update for new sexp API

Makes the code a bit cleaner.
This commit is contained in:
Dirk-Jan C. Binnema
2022-11-07 18:36:33 +02:00
parent a417b38624
commit 08ffba42b9
3 changed files with 12 additions and 18 deletions

View File

@ -51,7 +51,7 @@ using namespace Mu;
static Mu::Result<void>
view_msg_sexp(const Message& message, const MuConfig* opts)
{
::fputs(message.to_sexp().to_sexp_string().c_str(), stdout);
::fputs(message.sexp().to_string().c_str(), stdout);
::fputs("\n", stdout);
return Ok();