gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r9848 - Extractor/src/common


From: gnunet
Subject: [GNUnet-SVN] r9848 - Extractor/src/common
Date: Mon, 21 Dec 2009 12:56:19 +0100

Author: grothoff
Date: 2009-12-21 12:56:19 +0100 (Mon, 21 Dec 2009)
New Revision: 9848

Modified:
   Extractor/src/common/unzip.c
Log:
CID 32

Modified: Extractor/src/common/unzip.c
===================================================================
--- Extractor/src/common/unzip.c        2009-12-21 11:54:23 UTC (rev 9847)
+++ Extractor/src/common/unzip.c        2009-12-21 11:56:19 UTC (rev 9848)
@@ -1290,14 +1290,12 @@
 
   switch (origin) {
   case ZLIB_FILEFUNC_SEEK_SET:
-    if ( (offset > e->size) ||
-        (offset < 0) )
+    if (offset > e->size) 
       return -1;
     e->pos = offset;
     break;
   case ZLIB_FILEFUNC_SEEK_END:
-    if ( (offset > e->size) ||
-        (offset < 0) )
+    if (offset > e->size) 
       return -1;
     e->pos = e->size - offset;
     break;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]