Skip to content

Commit

Permalink
Fix typos (#1825)
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 authored Dec 20, 2024
1 parent c295c28 commit 4fa76be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/infcover.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ static void cover_trees(void) {
code *next, table[ENOUGH_DISTS];

/* we need to call inflate_table() directly in order to manifest not-
enough errors, since zlib insures that enough is always enough */
enough errors, since zlib ensures that enough is always enough */
for (bits = 0; bits < 15; bits++)
lens[bits] = (uint16_t)(bits + 1);
lens[15] = 15;
Expand Down
2 changes: 1 addition & 1 deletion zlib-ng.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ int32_t zng_inflateSetDictionary(zng_stream *strm, const uint8_t *dictionary, ui
deflateSetDictionary). For raw inflate, this function can be called at any
time to set the dictionary. If the provided dictionary is smaller than the
window and there is already data in the window, then the provided dictionary
will amend what's there. The application must insure that the dictionary
will amend what's there. The application must ensure that the dictionary
that was used for compression is provided.

inflateSetDictionary returns Z_OK if success, Z_STREAM_ERROR if a
Expand Down
2 changes: 1 addition & 1 deletion zlib.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ Z_EXTERN int Z_EXPORT inflateSetDictionary(z_stream *strm, const unsigned char *
deflateSetDictionary). For raw inflate, this function can be called at any
time to set the dictionary. If the provided dictionary is smaller than the
window and there is already data in the window, then the provided dictionary
will amend what's there. The application must insure that the dictionary
will amend what's there. The application must ensure that the dictionary
that was used for compression is provided.

inflateSetDictionary returns Z_OK if success, Z_STREAM_ERROR if a
Expand Down

0 comments on commit 4fa76be

Please sign in to comment.