diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2017-05-26 01:39:44 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2017-05-26 01:47:56 +0200 |
commit | f156c67e34b6eb892769e1312e618e116eba9bed (patch) | |
tree | d354da13a46c815deaedf91f7f968ea07789011b | |
parent | ec7a0dc95f68f0a3b3a79d292596da26e3b8f467 (diff) | |
download | ell-f156c67e34b6eb892769e1312e618e116eba9bed.tar.gz ell-f156c67e34b6eb892769e1312e618e116eba9bed.tar.xz ell-f156c67e34b6eb892769e1312e618e116eba9bed.zip |
Simplify ".."
-rw-r--r-- | ell.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1053,10 +1053,8 @@ defn (fn_concatenate) { } buffer_append (&buf, args->value, args->len); } - buffer_append_c (&buf, '\0'); - bool ok = !(ctx->memory_failure |= buf.memory_failure) - && check (ctx, (*result = new_string (buf.s, buf.len - 1))); + && check (ctx, (*result = new_string (buf.s, buf.len))); free (buf.s); return ok; } |