summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2004-12-08 16:38:49 +0000
committerroot <root>2004-12-08 16:38:49 +0000
commitc13323be76ea431d64169b7a20e8384bc70b5ec8 (patch)
treea93a4e912f8ab93d93dbb857c97473d2cee464c4
parentb26af6a3938b12c5899e4792b6214f20362bd8cc (diff)
*** empty log message ***
-rw-r--r--lzf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lzf.h b/lzf.h
index 74095de..54cc054 100644
--- a/lzf.h
+++ b/lzf.h
@@ -56,7 +56,8 @@
* If the output buffer is not large enough or any error occurs
* return 0, otherwise return the number of bytes used (which might
* be considerably larger than in_len, so it makes sense to always
- * use out_len == in_len).
+ * use out_len == in_len - 1), to ensure _some_ compression, and store
+ * the data uncompressed otherwise.
*
* lzf_compress might use different algorithms on different systems and
* thus might result in different compressed strings depending on the