]> mj.ucw.cz Git - libucw.git/commitdiff
fixed bugs causing the imagesig analyser to fail in scanner
authorPavel Charvat <pavel.charvat@netcentrum.cz>
Tue, 8 Aug 2006 17:25:36 +0000 (19:25 +0200)
committerPavel Charvat <pavel.charvat@netcentrum.cz>
Tue, 8 Aug 2006 17:25:36 +0000 (19:25 +0200)
images/io-main.c
images/sig-init.c

index 0ed20129d6db1ec9fdc4681a0fd9ceb9729617d4..c080b60c04b2339bdd9d35506b0c33f31c46be41 100644 (file)
@@ -60,9 +60,11 @@ image_io_reset(struct image_io *io)
   image_io_read_cancel(io);
   image_io_image_destroy(io);
   struct mempool *pool = io->internal_pool;
+  struct image_thread *thread = io->thread;
   mp_flush(pool);
   bzero(io, sizeof(*io));
   io->internal_pool = pool;
+  io->thread = thread;
 }
 
 int
index 091d7d6ce850a70516b115069f4b5a8aab49b1b6..2dba481c871e09eaf6e76e64a4f754f13df193a2 100644 (file)
@@ -7,7 +7,7 @@
  *     of the GNU Lesser General Public License.
  */
 
-#define LOCAL_DEBUG
+#undef LOCAL_DEBUG
 
 #include "sherlock/sherlock.h"
 #include "lib/math.h"