Fixed problem caused by former changes

This commit is contained in:
yhirose 2019-09-03 17:19:58 -04:00
parent 359b06681b
commit c434d555bb

View file

@ -1497,7 +1497,7 @@ inline ssize_t write_content_chunked(Stream &strm,
written_length = strm.write("0\r\n\r\n");
});
if (written_length < 0) { written_length; }
if (written_length < 0) { return written_length; }
total_written_length += written_length;
}
return total_written_length;