]> Kevux Git Server - fll/commitdiff
Bugfix: The first character never gets printed for payload Content.
authorKevin Day <thekevinday@gmail.com>
Thu, 17 Nov 2022 05:08:32 +0000 (23:08 -0600)
committerKevin Day <thekevinday@gmail.com>
Thu, 17 Nov 2022 05:08:32 +0000 (23:08 -0600)
level_3/fss_payload_write/c/private-write.c

index 964cc9bfa34f25add8d3774a26ada88e63cc004e..d658f2756e5479c198d5a587ce901b96b4013085 100644 (file)
@@ -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)) {