]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - filter_common.c
Improve memory mapping.
[paraslash.git] / filter_common.c
index a39eefd683ad4092951dd73272ab9968109ed351..d83629bd4bf9d2b3f609ba71d36b5c7afcfc04a8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2008 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2009 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -155,7 +155,7 @@ again:
 //             fc->eof, *fc->out_loaded, conv, conv_total);
        if (conv)
                goto again;
-       if (!*fc->input_error)
+       if (*fc->input_error >= 0)
                return;
        if (*fc->out_loaded)
                return;