diff options
author | Björn Jacke <bj@sernet.de> | 2019-10-26 02:41:09 +0200 |
---|---|---|
committer | Bjoern Jacke <bjacke@samba.org> | 2019-10-31 00:43:36 +0000 |
commit | 5915a40b25cebf7a480b51543cae93021fb091de (patch) | |
tree | 9b4b80335d44722e1b9c1eef6fc9c3fab282fdb3 /librpc | |
parent | b0deb6799c8d40f7c4c8824e11d37594d52e7bd5 (diff) | |
download | samba-5915a40b25cebf7a480b51543cae93021fb091de.tar.gz |
librpc/ndr/ndr_compression.c: typo fixes
Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/ndr/ndr_compression.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/librpc/ndr/ndr_compression.c b/librpc/ndr/ndr_compression.c index c4a13a2f3ba..8838c2fad72 100644 --- a/librpc/ndr/ndr_compression.c +++ b/librpc/ndr/ndr_compression.c @@ -118,11 +118,11 @@ static enum ndr_err_code ndr_pull_compression_mszip_cab_chunk(struct ndr_pull *n /* * Each MSZIP CDATA contains a complete deflate stream * i.e. the stream starts and ends in the CFDATA but the - * _dictionnary_ is shared between all CFDATA of a CFFOLDER. + * _dictionary_ is shared between all CFDATA of a CFFOLDER. * - * When decompressing, the initial dictionnary of the first + * When decompressing, the initial dictionary of the first * CDATA is empty. All other CFDATA use the previous CFDATA - * uncompressed output as dictionnary. + * uncompressed output as dictionary. */ if (state->alg.mszip.dict_size) { @@ -157,7 +157,7 @@ static enum ndr_err_code ndr_pull_compression_mszip_cab_chunk(struct ndr_pull *n } /* - * Keep a copy of the output to set as dictionnary for the + * Keep a copy of the output to set as dictionary for the * next decompression call. * * The input pointer seems to be still valid between calls, so @@ -231,7 +231,7 @@ static enum ndr_err_code ndr_push_compression_mszip_cab_chunk(struct ndr_push *n * * The CFDATA block contains a full deflate stream. Each stream * uses the uncompressed input of the previous CFDATA in the - * same CFFOLDER as a dictionnary for the compression. + * same CFFOLDER as a dictionary for the compression. */ if (state->alg.mszip.dict_size) { @@ -280,7 +280,7 @@ static enum ndr_err_code ndr_push_compression_mszip_cab_chunk(struct ndr_push *n } /* - * Keep a copy of the input to set as dictionnary for the next + * Keep a copy of the input to set as dictionary for the next * compression call. * * Ideally we would just store the input pointer and length @@ -807,7 +807,7 @@ static enum ndr_err_code generic_mszip_init(TALLOC_CTX *mem_ctx, state->alg.mszip.z = z; state->alg.mszip.dict_size = 0; - /* pre-alloc dictionnary */ + /* pre-alloc dictionary */ state->alg.mszip.dict = talloc_array(mem_ctx, uint8_t, 0x8000); NDR_ERR_HAVE_NO_MEMORY(state->alg.mszip.dict); |