Skip to content

Commit

Permalink
Fixed problem caused by former changes
Browse files Browse the repository at this point in the history
  • Loading branch information
yhirose committed Sep 3, 2019
1 parent 359b066 commit c434d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c434d55

Please sign in to comment.