Skip to content

Commit

Permalink
Update pull request #165 (better conditional)
Browse files Browse the repository at this point in the history
  • Loading branch information
matz committed May 1, 2018
1 parent 5adf60f commit 8673c84
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,7 @@ strm_writeio(strm_io io)
{
struct write_data *d;

if (io->write_stream) {
}
else {
if (!io->write_stream) {
d = malloc(sizeof(struct write_data));

#ifdef _WIN32
Expand Down

0 comments on commit 8673c84

Please sign in to comment.