From: Kevin Day Date: Thu, 17 Nov 2022 05:08:32 +0000 (-0600) Subject: Bugfix: The first character never gets printed for payload Content. X-Git-Tag: 0.6.2~70 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=585afa2eb457a36d78525a69137e99505d51dec9;p=fll Bugfix: The first character never gets printed for payload Content. --- 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)) {