summaryrefslogtreecommitdiff
path: root/lzo/src/lzo1a_99.c
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-07-02 17:28:05 +0200
committerArne Schwabe <arne@rfc2549.org>2012-07-02 17:28:05 +0200
commit6a4ba5d3976f6d219400a46c634dd479bc5981a5 (patch)
treeb9514fea0817906859843475fe8455070de25064 /lzo/src/lzo1a_99.c
parent73d3b9c032eae2074726cd3668546af1c44a8323 (diff)
Update lzo version
Diffstat (limited to 'lzo/src/lzo1a_99.c')
-rw-r--r--lzo/src/lzo1a_99.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lzo/src/lzo1a_99.c b/lzo/src/lzo1a_99.c
index 79bcf73e..57f5f32d 100644
--- a/lzo/src/lzo1a_99.c
+++ b/lzo/src/lzo1a_99.c
@@ -2,6 +2,9 @@
This file is part of the LZO real-time data compression library.
+ Copyright (C) 2011 Markus Franz Xaver Johannes Oberhumer
+ Copyright (C) 2010 Markus Franz Xaver Johannes Oberhumer
+ Copyright (C) 2009 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 2007 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 2006 Markus Franz Xaver Johannes Oberhumer
@@ -49,7 +52,7 @@
//
************************************************************************/
-#define LZO_NEED_DICT_H
+#define LZO_NEED_DICT_H 1
#include "config1a.h"
@@ -66,7 +69,7 @@ _lzo1a_do_compress ( const lzo_bytep in, lzo_uint in_len,
int r;
/* don't try to compress a block that's too short */
- if (in_len <= 0)
+ if (in_len == 0)
{
*out_len = 0;
r = LZO_E_OK;