Skip to content

Commit

Permalink
Merge cd800f2 into f7e6320
Browse files Browse the repository at this point in the history
  • Loading branch information
n3world committed Feb 24, 2017
2 parents f7e6320 + cd800f2 commit b46f4be
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion squash/squash-stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,13 @@ squash_stream_newa (SquashCodec* codec,
SquashStreamType stream_type,
const char* const* keys,
const char* const* values) {
return NULL;
SquashOptions* opts;

assert (codec != NULL);

opts = squash_options_newa (codec, keys, values);

return squash_stream_new_with_options (codec, stream_type, opts);
}

/**
Expand Down

0 comments on commit b46f4be

Please sign in to comment.