From 585afa2eb457a36d78525a69137e99505d51dec9 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 16 Nov 2022 23:08:32 -0600 Subject: [PATCH] Bugfix: The first character never gets printed for payload Content. --- level_3/fss_payload_write/c/private-write.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/level_3/fss_payload_write/c/private-write.c b/level_3/fss_payload_write/c/private-write.c index 964cc9b..d658f27 100644 --- a/level_3/fss_payload_write/c/private-write.c +++ b/level_3/fss_payload_write/c/private-write.c @@ -305,11 +305,6 @@ extern "C" { // When payload is provided, all data at this point is part of the payload until the end of the pipe. if (fl_string_dynamic_compare(f_fss_string_payload_s, object) == F_equal_to) { if (total > 1) { - - // The first character is the terminating new line, which is not part of the payload. - ++range.start; - --total; - status = f_string_dynamic_increase_by(total, &content); if (F_status_is_error(status)) { -- 1.8.3.1