Commit 3b1000d8 authored by Niels Möller's avatar Niels Möller
Browse files

(sexp_format): Add a newline at the end of

expressions in transport syntax.

Rev: src/sexp.c:1.44
parent 4e76253d
......@@ -594,7 +594,9 @@ sexp_format(struct sexp *e, int style, unsigned indent)
switch(style)
{
case SEXP_TRANSPORT:
return encode_base64(sexp_format(e, SEXP_CANONICAL, 0), "{}", 1, indent, 1);
return ssh_format("%lfS\n",
encode_base64(sexp_format(e, SEXP_CANONICAL, 0),
"{}", 1, indent, 1));
case SEXP_CANONICAL:
return SEXP_FORMAT(e, style, indent);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment