diff options
author | W. Felix Handte <w@felixhandte.com> | 2019-08-06 22:54:03 (GMT) |
---|---|---|
committer | W. Felix Handte <w@felixhandte.com> | 2019-08-06 22:54:03 (GMT) |
commit | 4f49d744e8de26b4d942c0c0e480f6a37dde41a5 (patch) | |
tree | e2f5eacf1e883623f636e8bd7e36df0257f6a26b | |
parent | 918269a4e395d88364a517b889473922ac5521ec (diff) | |
download | lz4-4f49d744e8de26b4d942c0c0e480f6a37dde41a5.zip lz4-4f49d744e8de26b4d942c0c0e480f6a37dde41a5.tar.gz lz4-4f49d744e8de26b4d942c0c0e480f6a37dde41a5.tar.bz2 |
Add Attach Dict Debug Log
-rw-r--r-- | lib/lz4.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1429,6 +1429,10 @@ int LZ4_loadDict (LZ4_stream_t* LZ4_dict, const char* dictionary, int dictSize) } void LZ4_attach_dictionary(LZ4_stream_t* workingStream, const LZ4_stream_t* dictionaryStream) { + DEBUGLOG(4, "LZ4_attach_dictionary (%p, %p, size %d)", + workingStream, dictionaryStream, dictionaryStream != NULL ? + dictionaryStream->internal_donotuse.dictSize : 0); + /* Calling LZ4_resetStream_fast() here makes sure that changes will not be * erased by subsequent calls to LZ4_resetStream_fast() in case stream was * marked as having dirty context, e.g. requiring full reset. |